Skip to content

Commit

Permalink
Fix breathing toggle when rgb is disabled (qmk#7550)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and drashna committed Dec 10, 2019
1 parent d6c22f5 commit d2402d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions quantum/quantum.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,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
}
}
Expand Down Expand Up @@ -458,11 +463,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
Expand Down

0 comments on commit d2402d2

Please sign in to comment.