Pārlūkot izejas kodu

Keymap: Fix build errors for non-Zeal boards. (#4496)

Joe Wasson 7 gadi atpakaļ
vecāks
revīzija
bada74e2a1
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      users/talljoe/talljoe.c

+ 2 - 0
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;