Fix typo of ENDOINT

This commit is contained in:
Nathan Conrad
2019-09-09 13:34:30 -04:00
parent b4c8a09f20
commit 4517d504b8
2 changed files with 5 additions and 5 deletions

View File

@@ -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