aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-09-27 20:33:03 +1000
committerGitHub <noreply@github.com>2020-09-27 20:33:03 +1000
commit70fce6564fe691912387d09344efa1d1ce5b949e (patch)
tree42d9b87a3c1c2f22ca2722645c946a96bcad4795 /quantum/keymap.h
parent28ff51175b6d45ce5a8dbfe7ed6e7a12df3bc8a8 (diff)
downloadfirmware-70fce6564fe691912387d09344efa1d1ce5b949e.tar.gz
firmware-70fce6564fe691912387d09344efa1d1ce5b949e.tar.bz2
firmware-70fce6564fe691912387d09344efa1d1ce5b949e.zip
Add logic for AT90USBxx7 where needed (#10203)
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r--quantum/keymap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 34a9c8f8c..de3bece11 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -40,6 +40,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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"