Fix breathing toggle when rgb is disabled (#7550)
parent
be47f91bc4
commit
de4eb79c6a
|
@ -302,6 +302,11 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||||
case OUT_BT:
|
case OUT_BT:
|
||||||
set_output(OUTPUT_BLUETOOTH);
|
set_output(OUTPUT_BLUETOOTH);
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
|
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_BREATHING)
|
||||||
|
case BL_BRTG:
|
||||||
|
backlight_toggle_breathing();
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -454,11 +459,6 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||||
rgblight_mode(RGBLIGHT_MODE_RGB_TEST);
|
rgblight_mode(RGBLIGHT_MODE_RGB_TEST);
|
||||||
# endif
|
# endif
|
||||||
return false;
|
return false;
|
||||||
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_BREATHING)
|
|
||||||
case BL_BRTG:
|
|
||||||
backlight_toggle_breathing();
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue