From f3a954e7deaa33db5fed8e807cd146e65aaeb104 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 30 Mar 2019 17:38:00 +0700 Subject: self powered and remote wakeup support are from configuration descriptor attribute --- src/common/tusb_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 5e4da8985..3a4ddb4c3 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -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) -- cgit v1.3.1