Skip to content

Commit 57e7e6a

Browse files
xQwexxCalcProgrammer1
authored andcommitted
Revert "Fix frames skip when using external effects engine" to fix ram race condition
1 parent bdecbd7 commit 57e7e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RGBController/RGBController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,13 +1553,13 @@ void RGBController::DeviceCallThreadFunction()
15531553
{
15541554
if(CallFlag_UpdateMode.load() == true)
15551555
{
1556-
CallFlag_UpdateMode = false;
15571556
DeviceUpdateMode();
1557+
CallFlag_UpdateMode = false;
15581558
}
15591559
if(CallFlag_UpdateLEDs.load() == true)
15601560
{
1561-
CallFlag_UpdateLEDs = false;
15621561
DeviceUpdateLEDs();
1562+
CallFlag_UpdateLEDs = false;
15631563
}
15641564
else
15651565
{

0 commit comments

Comments
 (0)