summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-29 09:52:53 -0400
committerGitHub <[email protected]>2019-09-29 09:52:53 -0400
commit0078be9c24910e979a5cea687e490ea08fcba8a2 (patch)
tree2a5b55f1642a7b2a4bf4b54afb4a86106f09b4f7 /examples/device/usbtmc
parent91fa24d99c333d89f29ad4b2cef16f26c5c80a3b (diff)
parent64467010410a8f08f77061b3f389ff7d71ddca84 (diff)
Merge branch 'master' into ZLP_Request2
Diffstat (limited to 'examples/device/usbtmc')
-rw-r--r--examples/device/usbtmc/src/tusb_config.h2
-rw-r--r--examples/device/usbtmc/src/usb_descriptors.c2
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,