diff --git a/src/Kaleidoscope-LEDEffect-Chase.cpp b/src/Kaleidoscope-LEDEffect-Chase.cpp index 8fb9b97d..99c6c95d 100644 --- a/src/Kaleidoscope-LEDEffect-Chase.cpp +++ b/src/Kaleidoscope-LEDEffect-Chase.cpp @@ -8,15 +8,15 @@ void LEDChaseEffect_::update(void) { return; } current_chase_counter = 0; - LEDControl.led_set_crgb_at(pos - (chase_sign * chase_pixels), {0, 0, 0}); - LEDControl.led_set_crgb_at(pos, {0, 0, 0}); + LEDControl.setCrgbAt(pos - (chase_sign * chase_pixels), {0, 0, 0}); + LEDControl.setCrgbAt(pos, {0, 0, 0}); pos += chase_sign; if (pos >= LED_COUNT || pos <= 0) { chase_sign = -chase_sign; } - LEDControl.led_set_crgb_at(pos, {0, 0, 255}); - LEDControl.led_set_crgb_at(pos - (chase_sign * chase_pixels), {255, 0, 0}); + LEDControl.setCrgbAt(pos, {0, 0, 255}); + LEDControl.setCrgbAt(pos - (chase_sign * chase_pixels), {255, 0, 0}); } LEDChaseEffect_ LEDChaseEffect;