summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-09-27 15:51:03 +0700
committerhathach <[email protected]>2023-09-27 15:51:03 +0700
commit3b0ffd0f488671f1bafa4bcd9e22dd51f8bb6dee (patch)
tree65eaf4b9e46bb91c86d284d5dcf634bd6741d75f /src/tusb.h
parent46f7cf4da2959b96d3af6b7f23d0d02ff7187f2f (diff)
change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default = true)
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tusb.h b/src/tusb.h
index d6534ca28..c9d56d3c3 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -66,7 +66,7 @@
#endif
#else
#ifndef tuh_int_handler
- #define tuh_int_handler(_x)
+ #define tuh_int_handler(...)
#endif
#endif
@@ -123,7 +123,7 @@
#endif
#else
#ifndef tud_int_handler
- #define tud_int_handler(_x)
+ #define tud_int_handler(...)
#endif
#endif