diff options
| author | Nathan Conrad <[email protected]> | 2019-09-27 12:41:46 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2019-09-27 12:41:46 -0400 |
| commit | 4ccdc5522d202daec98e2bb6536a4ed0ccd98b9a (patch) | |
| tree | eabd7d907a85150005d4ec32da5e48265232a1ba /examples/device/midi_test | |
| parent | 9a8d23e95ed6a48b3a3d43f7cf7d3f360ee61977 (diff) | |
Fix typo of CFG_TUD_ENDOINT0_SIZE.
Diffstat (limited to 'examples/device/midi_test')
| -rw-r--r-- | examples/device/midi_test/src/tusb_config.h | 4 | ||||
| -rw-r--r-- | examples/device/midi_test/src/usb_descriptors.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/midi_test/src/tusb_config.h b/examples/device/midi_test/src/tusb_config.h index 4a84812c5..fcd6b97c2 100644 --- a/examples/device/midi_test/src/tusb_config.h +++ b/examples/device/midi_test/src/tusb_config.h @@ -69,8 +69,8 @@ // DEVICE CONFIGURATION //-------------------------------------------------------------------- -#ifndef CFG_TUD_ENDOINT0_SIZE -#define CFG_TUD_ENDOINT0_SIZE 64 +#ifndef CFG_TUD_ENDPOINT0_SIZE +#define CFG_TUD_ENDPOINT0_SIZE 64 #endif //------------- CLASS -------------// diff --git a/examples/device/midi_test/src/usb_descriptors.c b/examples/device/midi_test/src/usb_descriptors.c index 7cebc6a15..2305c9f68 100644 --- a/examples/device/midi_test/src/usb_descriptors.c +++ b/examples/device/midi_test/src/usb_descriptors.c @@ -46,7 +46,7 @@ tusb_desc_device_t const desc_device = .bDeviceClass = 0x00, .bDeviceSubClass = 0x00, .bDeviceProtocol = 0x00, - .bMaxPacketSize0 = CFG_TUD_ENDOINT0_SIZE, + .bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE, .idVendor = 0xCafe, .idProduct = USB_PID, |
