mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 19:46:27 -04:00
Apex3TKL: do not send brightness if current brightness already set
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user