summaryrefslogtreecommitdiff
path: root/users/talljoe
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2018-11-26 17:39:29 -0800
committerDrashna Jaelre <drashna@live.com>2018-11-26 17:39:29 -0800
commitbada74e2a10224849719d1caa1dff8493cf39c58 (patch)
treeab39e12589d187b3ae01bbb11fb156d38beddf7c /users/talljoe
parentecd21b44a8efd5c7241ebf48c65fc7b30134865f (diff)
downloadqmk_firmware-bada74e2a10224849719d1caa1dff8493cf39c58.tar.gz
qmk_firmware-bada74e2a10224849719d1caa1dff8493cf39c58.zip
Keymap: Fix build errors for non-Zeal boards. (#4496)
Diffstat (limited to 'users/talljoe')
-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 e72dc6c3e0..345b5604bb 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;