We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debf359 commit 36dff04Copy full SHA for 36dff04
src/tusb.h
@@ -137,6 +137,12 @@
137
//--------------------------------------------------------------------+
138
// User API
139
140
+
141
+// Following macros are defined to be backward compatible
142
+// tinyusb 0.17.x and 0.18.x
143
+#define tusb_rhport_teardown(rhport) tusb_deinit(rhport)
144
+#define tusb_teardown() tusb_deinit(0)
145
146
#if CFG_TUH_ENABLED || CFG_TUD_ENABLED
147
148
// Internal helper for backward compatible with tusb_init(void)
0 commit comments