diff options
| author | hathach <[email protected]> | 2018-07-23 15:25:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-23 15:25:45 +0700 |
| commit | 4342325ee1359d3361acca6de4f8accf013e8e39 (patch) | |
| tree | c869f399e0ef1f8588842a8927a22e528dadc503 /src/device/usbd.c | |
| parent | 141ac25e3b3aaf72a50ace257d2bda41d1ebe702 (diff) | |
reworking device hid class driver
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index e8dfd83dd..2aabd1892 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -38,7 +38,7 @@ #include "tusb_option.h"
-#if MODE_DEVICE_SUPPORTED
+#if TUSB_OPT_DEVICE_ENABLED
#define _TINY_USB_SOURCE_FILE_
@@ -116,7 +116,7 @@ static usbd_class_driver_t const usbd_class_drivers[] = #endif
- #if DEVICE_CLASS_HID
+ #if TUD_OPT_HID_ENABLED
{
.class_code = TUSB_CLASS_HID,
.init = hidd_init,
|
