This commit is contained in:
hathach
2025-02-12 11:34:32 +07:00
parent 87adc63226
commit 85247e50dd
5 changed files with 31 additions and 28 deletions

View File

@@ -657,9 +657,9 @@
//------------------------------------------------------------------
// Configuration Validation
//------------------------------------------------------------------
//#if CFG_TUD_ENDPOINT0_SIZE > 64
// #error Control Endpoint Max Packet Size cannot be larger than 64
//#endif
#if CFG_TUD_ENDPOINT0_SIZE > 64
#error Control Endpoint Max Packet Size cannot be larger than 64
#endif
// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)
typedef int make_iso_compilers_happy;