Write only the absolutely necessary LEDs

This commit is contained in:
Matt Harper 2020-05-08 17:09:21 -05:00 committed by Adam Honse
parent 1334129078
commit 5beee08166
3 changed files with 33 additions and 26 deletions

View file

@ -167,10 +167,7 @@ void RGBController_RGBFusion2SMBus::UpdateZoneLEDs(int zone)
void RGBController_RGBFusion2SMBus::UpdateSingleLED(int led)
{
// Issuing updates of individual LEDs seems to cause odd speed behavior
// Mitigating by writing all LEDs every time
// TODO - Further investigation into individual updates may be warranted
UpdateLEDs();
UpdateZoneLEDs(led);
}
// TODO - Research if possible to read device state