Apex3TKL: do not send brightness if current brightness already set
This commit is contained in:
parent
26e584860e
commit
7067bb774f
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ void SteelSeriesApex8ZoneController::SetBrightness(uint8_t brightness)
|
|||
uint8_t buffer[STEELSERIES_8Z_WRITE_PACKET_SIZE] = { 0x00, 0x23, brightness };
|
||||
|
||||
hid_write(dev, buffer, STEELSERIES_8Z_WRITE_PACKET_SIZE);
|
||||
|
||||
current_brightness = brightness;
|
||||
}
|
||||
|
||||
uint8_t SteelSeriesApex8ZoneController::GetBrightness()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue