소스 검색

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

Joe Wasson 7 년 전
부모
커밋
bada74e2a1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;