diff options
Diffstat (limited to 'quantum/led_matrix/animations/breathing_anim.h')
| -rw-r--r-- | quantum/led_matrix/animations/breathing_anim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/led_matrix/animations/breathing_anim.h b/quantum/led_matrix/animations/breathing_anim.h index e3f600c45..899925f51 100644 --- a/quantum/led_matrix/animations/breathing_anim.h +++ b/quantum/led_matrix/animations/breathing_anim.h | |||
| @@ -12,8 +12,8 @@ bool BREATHING(effect_params_t* params) { | |||
| 12 | LED_MATRIX_TEST_LED_FLAGS(); | 12 | LED_MATRIX_TEST_LED_FLAGS(); |
| 13 | led_matrix_set_value(i, val); | 13 | led_matrix_set_value(i, val); |
| 14 | } | 14 | } |
| 15 | return led_max < DRIVER_LED_TOTAL; | 15 | return led_matrix_check_finished_leds(led_max); |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | # endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS | 18 | # endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 19 | #endif // DISABLE_LED_MATRIX_BREATHING | 19 | #endif // ENABLE_LED_MATRIX_BREATHING |
