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/usbtmc/src | |
| parent | 9a8d23e95ed6a48b3a3d43f7cf7d3f360ee61977 (diff) | |
Fix typo of CFG_TUD_ENDOINT0_SIZE.
Diffstat (limited to 'examples/device/usbtmc/src')
| -rw-r--r-- | examples/device/usbtmc/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/device/usbtmc/src/usb_descriptors.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/usbtmc/src/tusb_config.h b/examples/device/usbtmc/src/tusb_config.h index c20b05fbb..9141e6a5a 100644 --- a/examples/device/usbtmc/src/tusb_config.h +++ b/examples/device/usbtmc/src/tusb_config.h @@ -51,7 +51,7 @@ // DEVICE CONFIGURATION //-------------------------------------------------------------------- -#define CFG_TUD_ENDOINT0_SIZE 64 +#define CFG_TUD_ENDPOINT0_SIZE 64 //------------- CLASS -------------// diff --git a/examples/device/usbtmc/src/usb_descriptors.c b/examples/device/usbtmc/src/usb_descriptors.c index 1175ebb99..27e1bdaa9 100644 --- a/examples/device/usbtmc/src/usb_descriptors.c +++ b/examples/device/usbtmc/src/usb_descriptors.c @@ -58,7 +58,7 @@ tusb_desc_device_t const desc_device = .bDeviceProtocol = 0x00, #endif - .bMaxPacketSize0 = CFG_TUD_ENDOINT0_SIZE, + .bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE, .idVendor = 0xCafe, .idProduct = USB_PID, |
