aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Takeshi ISHII <2170248+mtei@users.noreply.github.com>2019-02-23 01:07:31 +0900
committerGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-22 08:07:31 -0800
commite3621c162c32dd12ede78f6e2936724fc1dabcf1 (patch)
tree5f7a108b1c1d883985d57547505e2e8970148563
parent384fef72d3a08f6bdc4e8557caf0bb78953dab32 (diff)
downloadqmk_firmware-e3621c162c32dd12ede78f6e2936724fc1dabcf1.tar.gz
fix rgblight_effect_breathing interval time (#5213)
-rw-r--r--quantum/rgblight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 57de56df7..52e0be8ba 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -795,7 +795,7 @@ void rgblight_effect_breathing(uint8_t interval) {
static uint16_t last_timer = 0;
float val;
- uint8_t interval_time = get_interval_time(&RGBLED_RAINBOW_SWIRL_INTERVALS[interval / 2], 1, 100);
+ uint8_t interval_time = get_interval_time(&RGBLED_BREATHING_INTERVALS[interval], 1, 100);
if (timer_elapsed(last_timer) < interval_time) {
return;