self powered and remote wakeup support are from configuration descriptor attribute
This commit is contained in:
@@ -166,8 +166,7 @@ typedef enum
|
||||
|
||||
enum {
|
||||
TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP = TU_BIT(5),
|
||||
TUSB_DESC_CONFIG_ATT_SELF_POWER = TU_BIT(6),
|
||||
TUSB_DESC_CONFIG_ATT_BUS_POWER = TU_BIT(7)
|
||||
TUSB_DESC_CONFIG_ATT_SELF_POWERED = TU_BIT(6),
|
||||
};
|
||||
|
||||
#define TUSB_DESC_CONFIG_POWER_MA(x) ((x)/2)
|
||||
|
||||
Reference in New Issue
Block a user