allow no mode compilation (no host/device enabled). Handy for project without usb to compile such as nrf52832
This commit is contained in:
@@ -38,13 +38,10 @@
|
||||
|
||||
#include "tusb_option.h"
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUD_DESC_AUTO
|
||||
|
||||
#include "tusb.h"
|
||||
|
||||
#if CFG_TUD_DESC_AUTO
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Auto Description Default Configure & Validation
|
||||
//--------------------------------------------------------------------+
|
||||
@@ -634,6 +631,3 @@ tud_desc_set_t const _usbd_auto_desc_set =
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user