summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2018-11-27 02:39:29 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-27 02:39:29 +0100
commitbada74e2a10224849719d1caa1dff8493cf39c58 (patch)
treeab39e12589d187b3ae01bbb11fb156d38beddf7c
parentecd21b44a8efd5c7241ebf48c65fc7b30134865f (diff)
downloadqmk_firmware-bada74e2a10224849719d1caa1dff8493cf39c58.tar.gz
qmk_firmware-bada74e2a10224849719d1caa1dff8493cf39c58.tar.xz
Keymap: Fix build errors for non-Zeal boards. (#4496)
-rw-r--r--users/talljoe/talljoe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/talljoe/talljoe.c b/users/talljoe/talljoe.c
index e72dc6c3e..345b5604b 100644
--- a/users/talljoe/talljoe.c
+++ b/users/talljoe/talljoe.c
@@ -108,7 +108,9 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
extern backlight_config g_config;
#endif
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+#ifdef ZEAL_RGB
static uint8_t last_effect;
+#endif
#ifdef RGBLIGHT_ENABLE
static uint32_t savedRgbMode;