diff options
| author | hathach <[email protected]> | 2023-08-18 12:48:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-18 12:48:12 +0700 |
| commit | 9257a0f562a1cb939a902e7c41de5032b0f7de19 (patch) | |
| tree | 52a90b9a4eda71b62c0c6096f2b0813670c3f626 /src/tusb.h | |
| parent | 1fdf29075d4e613eacfa881166015263797db0f6 (diff) | |
- update nrf52 bsp for cmake
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
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..d6534ca28 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(_x) + #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(_x) + #endif #endif |
