summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index e72c9540c..0cd462ed1 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -145,8 +145,8 @@
// DEVICE OPTIONS
//--------------------------------------------------------------------
-#ifndef CFG_TUD_ENDOINT0_SIZE
- #define CFG_TUD_ENDOINT0_SIZE 64
+#ifndef CFG_TUD_ENDPOINT0_SIZE
+ #define CFG_TUD_ENDPOINT0_SIZE 64
#endif
#ifndef CFG_TUD_CDC
@@ -198,7 +198,7 @@
//------------------------------------------------------------------
// Configuration Validation
//------------------------------------------------------------------
-#if CFG_TUD_ENDOINT0_SIZE > 64
+#if CFG_TUD_ENDPOINT0_SIZE > 64
#error Control Endpoint Max Packet Size cannot be larger than 64
#endif