summaryrefslogtreecommitdiff
path: root/examples/device/nrf52840/src/tusb_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/nrf52840/src/tusb_config.h')
-rw-r--r--examples/device/nrf52840/src/tusb_config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h
index 0f7ff7b8c..c58798040 100644
--- a/examples/device/nrf52840/src/tusb_config.h
+++ b/examples/device/nrf52840/src/tusb_config.h
@@ -54,14 +54,14 @@
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION
//--------------------------------------------------------------------+
-#define CFG_TUSB_DEVICE_ENDOINT0_SIZE 64
+#define CFG_TUD_ENDOINT0_SIZE 64
//------------- CLASS -------------//
-#define CFG_TUSB_DEVICE_HID_KEYBOARD 0
-#define CFG_TUSB_DEVICE_HID_MOUSE 0
-#define CFG_TUSB_DEVICE_HID_GENERIC 0 // not supported yet
-#define CFG_TUSB_DEVICE_MSC 1
-#define CFG_TUSB_DEVICE_CDC 1
+#define CFG_TUD_HID_KEYBOARD 0
+#define CFG_TUD_HID_MOUSE 0
+#define CFG_TUD_HID_GENERIC 0 // not supported yet
+#define CFG_TUD_MSC 1
+#define CFG_TUD_CDC 1
//--------------------------------------------------------------------+
// COMMON CONFIGURATION