mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-28 19:01:07 -04:00
Corrected mode assignment read from device in constructor
This commit is contained in:
@@ -63,7 +63,7 @@ void CMMP750Controller::GetStatus()
|
||||
|
||||
if((buffer[0] == 0x80) && (buffer[1] == 0x05))
|
||||
{
|
||||
current_mode = buffer[2] - 1;
|
||||
current_mode = buffer[2];
|
||||
current_red = buffer[3];
|
||||
current_green = buffer[4];
|
||||
current_blue = buffer[5];
|
||||
|
||||
Reference in New Issue
Block a user