Skip to content

Commit

Permalink
Improved change to VL send
Browse files Browse the repository at this point in the history
  • Loading branch information
LivingSynthesis committed Dec 10, 2024
1 parent 12a9df8 commit ffbbe3d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions VortexEngine/src/Wireless/VLSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,7 @@ void VLSender::startPWM()
uint8_t oldBrightness = Leds::getBrightness();
// ensure max brightness
Leds::setBrightness(255);
Leds::clearAll();
for (int l = 0; l < LED_COUNT; ++l) {
Leds::setIndex((LedPos)l, RGB_WHITE);
}
Leds::setAll(RGB_WHITE);
Leds::update();
// restore brightness
Leds::setBrightness(oldBrightness);
Expand Down

0 comments on commit ffbbe3d

Please sign in to comment.