fix not correctly showing 32u2 warning message when Endpints are more than 4.
This commit is contained in:
parent
5f6550a0be
commit
78f4f666c6
1 changed files with 4 additions and 3 deletions
|
|
@ -145,9 +145,10 @@ typedef struct
|
||||||
|
|
||||||
#ifdef NKRO_ENABLE
|
#ifdef NKRO_ENABLE
|
||||||
# define NKRO_IN_EPNUM (CONSOLE_OUT_EPNUM + 1)
|
# define NKRO_IN_EPNUM (CONSOLE_OUT_EPNUM + 1)
|
||||||
# if defined(__AVR_ATmega32U2__) && NKRO_IN_EPNUM > 4
|
#endif
|
||||||
# error "Endpoints are not available enough to support all functions. Remove some in Makefile.(MOUSEKEY, EXTRAKEY, CONSOLE, NKRO)"
|
|
||||||
# endif
|
#if defined(__AVR_ATmega32U2__) && NKRO_IN_EPNUM > 4
|
||||||
|
# error "Endpoints are not available enough to support all functions. Remove some in Makefile.(MOUSEKEY, EXTRAKEY, CONSOLE, NKRO)"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue