diff options
author | tmk <nobody@nowhere> | 2014-04-29 12:45:01 +0200 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-04-29 12:45:01 +0200 |
commit | b03717a10ce84c906e149c9f673fa3ffa686ef80 (patch) | |
tree | f1ee66fcd041ccfe3cdcd8be8c94887ec08654ca /protocol/lufa/descriptor.h | |
parent | 7209c1d38703eb5ca5c13bd6143c2e7312a15a88 (diff) | |
download | qmk_firmware-b03717a10ce84c906e149c9f673fa3ffa686ef80.tar.gz qmk_firmware-b03717a10ce84c906e149c9f673fa3ffa686ef80.tar.xz |
Unused endpoint of console OUT is commentout'd
Diffstat (limited to 'protocol/lufa/descriptor.h')
-rw-r--r-- | protocol/lufa/descriptor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocol/lufa/descriptor.h b/protocol/lufa/descriptor.h index a2db4bfd7..42af07917 100644 --- a/protocol/lufa/descriptor.h +++ b/protocol/lufa/descriptor.h @@ -137,13 +137,17 @@ typedef struct #ifdef CONSOLE_ENABLE # define CONSOLE_IN_EPNUM (EXTRAKEY_IN_EPNUM + 1) -# define CONSOLE_OUT_EPNUM (EXTRAKEY_IN_EPNUM + 2) +# define CONSOLE_OUT_EPNUM (EXTRAKEY_IN_EPNUM + 1) +//# define CONSOLE_OUT_EPNUM (EXTRAKEY_IN_EPNUM + 2) #else # define CONSOLE_OUT_EPNUM EXTRAKEY_IN_EPNUM #endif #ifdef NKRO_ENABLE # define NKRO_IN_EPNUM (CONSOLE_OUT_EPNUM + 1) +# 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 |