summaryrefslogtreecommitdiff
path: root/examples/device/hid_composite/src/tusb_config.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-07-16 15:34:16 +0700
committerhathach <[email protected]>2020-07-16 15:34:16 +0700
commit5ca748a68e01deec929e846b7263cf736bf891fb (patch)
treebc47216ad0c8bccb370e09f4021758933d17c0a1 /examples/device/hid_composite/src/tusb_config.h
parentfea6fb73a1ef65afd848ec71d49d65cc87a9eec9 (diff)
rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
Diffstat (limited to 'examples/device/hid_composite/src/tusb_config.h')
-rw-r--r--examples/device/hid_composite/src/tusb_config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/device/hid_composite/src/tusb_config.h b/examples/device/hid_composite/src/tusb_config.h
index abc243436..d8e6b73e8 100644
--- a/examples/device/hid_composite/src/tusb_config.h
+++ b/examples/device/hid_composite/src/tusb_config.h
@@ -94,14 +94,14 @@
#endif
//------------- CLASS -------------//
-#define CFG_TUD_HID 1
-#define CFG_TUD_CDC 0
-#define CFG_TUD_MSC 0
-#define CFG_TUD_MIDI 0
-#define CFG_TUD_VENDOR 0
+#define CFG_TUD_HID 1
+#define CFG_TUD_CDC 0
+#define CFG_TUD_MSC 0
+#define CFG_TUD_MIDI 0
+#define CFG_TUD_VENDOR 0
// HID buffer size Should be sufficient to hold ID (if any) + Data
-#define CFG_TUD_HID_BUFSIZE 16
+#define CFG_TUD_HID_EP_BUFSIZE 16
#ifdef __cplusplus
}