mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-07 05:41:13 -05:00
Fix sequence point warning in LGMonitorController.cpp
This commit is contained in:
@@ -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