rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED

This commit is contained in:
hathach
2018-12-07 23:38:52 +07:00
parent e019916263
commit 607658d047
17 changed files with 22 additions and 29 deletions

View File

@@ -79,7 +79,7 @@ typedef struct
} hcd_event_t;
#if MODE_HOST_SUPPORTED
#if TUSB_OPT_HOST_ENABLED
// Max number of endpoints per device
enum {
HCD_MAX_ENDPOINT = CFG_TUH_HUB + CFG_TUH_HID_KEYBOARD + CFG_TUH_HID_MOUSE + CFG_TUSB_HOST_HID_GENERIC +