mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix sequence point warning in LGMonitorController.cpp
This commit is contained in:
1 parent
e33dc2290b
commit
a367c0023f
1 file changed
+3
-1
@@ -92,7 +92,9 @@ void LGMonitorController::SetDirect(const std::vector<RGBColor> colors)
|
||||
data[offset++] = RGBGetBValue(color);
|
||||
}
|
||||
|
||||
data[offset] = crc(data, 0, offset++);
|
||||
data[offset] = crc(data, 0, offset);
|
||||
offset++;
|
||||
|
||||
data[offset++] = LG_MONITOR_END_CMD_1;
|
||||
data[offset] = LG_MONITOR_END_CMD_2;
|
||||
|
||||
|
||||
Reference in new issue
Block a user