File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
host/usb/test/target_test/enum/main Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1414#include "sdkconfig.h"
1515#include "descriptors_control.h"
1616
17- #ifndef tusb_deinit
17+ #if TUSB_VERSION_NUMBER < 1900 // < 0.19.0
1818#define tusb_deinit (x ) tusb_teardown(x) // For compatibility with tinyusb component versions from 0.17.0~2 to 0.18.0~5
19- #endif // tusb_deinit
19+ #endif
2020
2121const static char * TAG = "tinyusb_task" ;
2222
Original file line number Diff line number Diff line change 2828#define USB_SRP_BVALID_IN_IDX USB_SRP_BVALID_PAD_IN_IDX
2929#endif // CONFIG_IDF_TARGET_ESP32P4
3030
31- #ifndef tusb_deinit
32- #define tusb_deinit (x ) tusb_teardown(x) // For compatibility with older tinyusb component versions
33- #endif // tusb_deinit
31+ #if TUSB_VERSION_NUMBER < 1900 // < 0.19.0
32+ #define tusb_deinit (x ) tusb_teardown(x) // For compatibility with tinyusb component versions from 0.17.0~2 to 0.18.0~5
33+ #endif
3434
3535//
3636// Test configuration
You can’t perform that action at this time.
0 commit comments