]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Keymap: Fix build errors for non-Zeal boards. (#4496)
authorJoe Wasson <jwasson+github@gmail.com>
Tue, 27 Nov 2018 01:39:29 +0000 (17:39 -0800)
committerDrashna Jaelre <drashna@live.com>
Tue, 27 Nov 2018 01:39:29 +0000 (17:39 -0800)
users/talljoe/talljoe.c

index e72dc6c3e0e5abf9e8b4f18bbdc938c5a67505e2..345b5604bb02851ddbf0349f1bcd9090277bda3c 100644 (file)
@@ -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;