From e3621c162c32dd12ede78f6e2936724fc1dabcf1 Mon Sep 17 00:00:00 2001 From: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Date: Sat, 23 Feb 2019 01:07:31 +0900 Subject: fix rgblight_effect_breathing interval time (#5213) --- quantum/rgblight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 57de56df70..52e0be8ba0 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; -- cgit v1.2.1