summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-10-27 18:29:26 +1100
committerGitHub <noreply@github.com>2022-10-27 18:29:26 +1100
commit91b1e8a3e563addc1492cabc78466c8142edcf91 (patch)
treef6fdf2d89044d317c00d2d73e4202a7452199215
parentfb8cfe43a31f57f978b37579c1e7e0dbf43a3078 (diff)
Allow overriding of dynamic keymap start address. (#18867)
-rw-r--r--quantum/dynamic_keymap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/dynamic_keymap.c b/quantum/dynamic_keymap.c
index e9529ed14e..d800bbab84 100644
--- a/quantum/dynamic_keymap.c
+++ b/quantum/dynamic_keymap.c
@@ -24,7 +24,9 @@
# include "via.h" // for VIA_EEPROM_CONFIG_END
# define DYNAMIC_KEYMAP_EEPROM_START (VIA_EEPROM_CONFIG_END)
#else
-# define DYNAMIC_KEYMAP_EEPROM_START (EECONFIG_SIZE)
+# ifndef DYNAMIC_KEYMAP_EEPROM_START
+# define DYNAMIC_KEYMAP_EEPROM_START (EECONFIG_SIZE)
+# endif
#endif
#ifdef ENCODER_ENABLE