rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
This commit is contained in:
@@ -179,7 +179,7 @@ void INT_Excep_USB0_USBI0(void)
|
||||
#if TUSB_OPT_HOST_ENABLED
|
||||
tuh_int_handler(0);
|
||||
#endif
|
||||
#if TUSB_OPT_DEVICE_ENABLED
|
||||
#if CFG_TUD_ENABLED
|
||||
tud_int_handler(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user