Fixing breathing + LED setting
Signed-off-by: B Horn <b@horn.uk>
This commit is contained in:
parent
b72dbf4638
commit
b4e76c8281
1 changed files with 5 additions and 1 deletions
|
|
@ -134,11 +134,15 @@ void RGBController_SteelSeriesRival3::DeviceUpdateLEDs()
|
|||
{
|
||||
UpdateZoneLEDs(i);
|
||||
}
|
||||
DeviceUpdateMode();
|
||||
}
|
||||
|
||||
void RGBController_SteelSeriesRival3::UpdateZoneLEDs(int zone)
|
||||
{
|
||||
UpdateSingleLED(zones[zone].leds[0].value);
|
||||
/*--------------------------------------------------*\
|
||||
| Subtracting one as the zone and led indexes differ |
|
||||
\*--------------------------------------------------*/
|
||||
UpdateSingleLED(zones[zone].leds[0].value - 1);
|
||||
}
|
||||
|
||||
void RGBController_SteelSeriesRival3::UpdateSingleLED(int led)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue