diff options
Diffstat (limited to 'quantum/rgb_matrix/animations/breathing_anim.h')
| -rw-r--r-- | quantum/rgb_matrix/animations/breathing_anim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/rgb_matrix/animations/breathing_anim.h b/quantum/rgb_matrix/animations/breathing_anim.h index a00ccb83a..29187e154 100644 --- a/quantum/rgb_matrix/animations/breathing_anim.h +++ b/quantum/rgb_matrix/animations/breathing_anim.h | |||
| @@ -13,8 +13,8 @@ bool BREATHING(effect_params_t* params) { | |||
| 13 | RGB_MATRIX_TEST_LED_FLAGS(); | 13 | RGB_MATRIX_TEST_LED_FLAGS(); |
| 14 | rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); | 14 | rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); |
| 15 | } | 15 | } |
| 16 | return led_max < DRIVER_LED_TOTAL; | 16 | return rgb_matrix_check_finished_leds(led_max); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | # endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS | 19 | # endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS |
| 20 | #endif // DISABLE_RGB_MATRIX_BREATHING | 20 | #endif // ENABLE_RGB_MATRIX_BREATHING |
