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

This commit is contained in:
Joe Wasson 2018-11-26 17:39:29 -08:00 committed by Drashna Jaelre
parent ecd21b44a8
commit bada74e2a1

View File

@ -108,7 +108,9 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
extern backlight_config g_config; extern backlight_config g_config;
#endif #endif
bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef ZEAL_RGB
static uint8_t last_effect; static uint8_t last_effect;
#endif
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
static uint32_t savedRgbMode; static uint32_t savedRgbMode;