diff options
Diffstat (limited to 'shared/tinyusb/mp_usbd.h')
| -rw-r--r-- | shared/tinyusb/mp_usbd.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shared/tinyusb/mp_usbd.h b/shared/tinyusb/mp_usbd.h index b46555536..b482ec430 100644 --- a/shared/tinyusb/mp_usbd.h +++ b/shared/tinyusb/mp_usbd.h @@ -29,6 +29,22 @@ #include "py/mpconfig.h" +#ifndef MICROPY_WRAP_TUD_SOF_CB +#define MICROPY_WRAP_TUD_SOF_CB(name) name +#endif + +#ifndef MICROPY_WRAP_TUD_CDC_RX_CB +#define MICROPY_WRAP_TUD_CDC_RX_CB(name) name +#endif + +#ifndef MICROPY_WRAP_TUD_CDC_LINE_STATE_CB +#define MICROPY_WRAP_TUD_CDC_LINE_STATE_CB(name) name +#endif + +#ifndef MICROPY_WRAP_TUD_EVENT_HOOK_CB +#define MICROPY_WRAP_TUD_EVENT_HOOK_CB(name) name +#endif + #if MICROPY_HW_ENABLE_USBDEV #include "py/obj.h" |
