diff options
Diffstat (limited to 'src/tusb.h')
| -rw-r--r-- | src/tusb.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tusb.h b/src/tusb.h index 37a521fa8..c9d56d3c3 100644 --- a/src/tusb.h +++ b/src/tusb.h @@ -64,7 +64,10 @@ #if CFG_TUH_VENDOR #include "class/vendor/vendor_host.h" #endif - +#else + #ifndef tuh_int_handler + #define tuh_int_handler(...) + #endif #endif //------------- DEVICE -------------// @@ -118,6 +121,10 @@ #if CFG_TUD_BTH #include "class/bth/bth_device.h" #endif +#else + #ifndef tud_int_handler + #define tud_int_handler(...) + #endif #endif |
