summaryrefslogtreecommitdiff
path: root/quantum/via.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-07-18 11:55:27 +0100
committerGitHub <noreply@github.com>2022-07-18 11:55:27 +0100
commit42eff8c3726517304ad479f3e760dc34428b4f9f (patch)
treee82982a32462872f92d9f16392e1d4f9a09f489e /quantum/via.h
parent32cc8a7f431b2759d8f930944a4b5fb9c8f5d156 (diff)
Allow dynamic keymap to compile without via.h (#17703)
Diffstat (limited to 'quantum/via.h')
-rw-r--r--quantum/via.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/via.h b/quantum/via.h
index ac29a58902..31d9c21af4 100644
--- a/quantum/via.h
+++ b/quantum/via.h
@@ -54,6 +54,8 @@
# define VIA_EEPROM_CUSTOM_CONFIG_SIZE 0
#endif
+#define VIA_EEPROM_CONFIG_END (VIA_EEPROM_CUSTOM_CONFIG_ADDR + VIA_EEPROM_CUSTOM_CONFIG_SIZE)
+
// This is changed only when the command IDs change,
// so VIA Configurator can detect compatible firmware.
#define VIA_PROTOCOL_VERSION 0x0009