mirror of
https://github.com/qmk/qmk_firmware
synced 2025-01-03 05:30:18 +00:00
Fix breathing toggle when rgb is disabled (#7550)
This commit is contained in:
@ -302,6 +302,11 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||
case OUT_BT:
|
||||
set_output(OUTPUT_BLUETOOTH);
|
||||
return false;
|
||||
#endif
|
||||
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_BREATHING)
|
||||
case BL_BRTG:
|
||||
backlight_toggle_breathing();
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -454,11 +459,6 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||
rgblight_mode(RGBLIGHT_MODE_RGB_TEST);
|
||||
# endif
|
||||
return false;
|
||||
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_BREATHING)
|
||||
case BL_BRTG:
|
||||
backlight_toggle_breathing();
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user