summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-08 22:56:22 +0700
committerhathach <[email protected]>2024-04-08 22:56:22 +0700
commitbe25a3fc20339c27803e68cb1363f89ffe7a7c67 (patch)
treeaa16bb07a3b127b24f3e5e07687243f94c390650 /src/device/usbd_pvt.h
parent4bc6a5feb74e073824cf404916442311b7040c47 (diff)
revert usbd driver name change to be backward compatible
Diffstat (limited to 'src/device/usbd_pvt.h')
-rw-r--r--src/device/usbd_pvt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index 5ae96e589..47752f32c 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -40,7 +40,10 @@
//--------------------------------------------------------------------+
typedef struct {
+ #if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
char const* name;
+ #endif
+
void (* init ) (void);
bool (* deinit ) (void);
void (* reset ) (uint8_t rhport);