Make KEYMAP's __xdata so they can be edited at runtime

This commit is contained in:
Jeremy Soller
2020-09-15 12:29:44 -06:00
committed by Jeremy Soller
parent 882dd02e06
commit f36b38a7b2
26 changed files with 26 additions and 26 deletions

View File

@@ -43,7 +43,7 @@
#define KM_LAY 2
// Keymap
extern uint16_t __code KEYMAP[KM_LAY][KM_OUT][KM_IN];
extern uint16_t __xdata KEYMAP[KM_LAY][KM_OUT][KM_IN];
// Get a keycode from the keymap
uint16_t keymap(int output, int input, int layer);