summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-12-06 08:27:04 +0000
committerfauxpark <fauxpark@gmail.com>2019-12-06 19:27:04 +1100
commitde4eb79c6ad386ad7f7de4fa842a06c5028a8c6c (patch)
tree876f31657329c0e8aca9e1820ebd5253d6902aca /quantum
parentbe47f91bc44709101d68ce9ea589062f5288a79c (diff)
Fix breathing toggle when rgb is disabled (#7550)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 7463c9d732..2def99ac84 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -303,6 +303,11 @@ bool process_record_quantum(keyrecord_t *record) {
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