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 patrl committed Dec 29, 2019
1 parent b1cf89a commit c44ca23
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 @@ -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
}
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c44ca23

Please sign in to comment.