From 39f52ba28e9a38566a15d75de94691d08effaff5 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Tue, 22 Sep 2020 09:03:59 +1000 Subject: [PATCH] Undefine RESET first if we are on an xx7 device --- quantum/keymap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quantum/keymap.h b/quantum/keymap.h index 34a9c8f8c652..de3bece11e2b 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h @@ -40,6 +40,10 @@ along with this program. If not, see . #if defined(PROTOCOL_CHIBIOS) # define RESET QK_RESET #endif +// Gross hack, remove me and change RESET keycode to QK_BOOT +#if defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__) +# undef RESET +#endif #include "quantum_keycodes.h"