Revert "Fix frames skip when using external effects engine" to fix ram race condition

This commit is contained in:
Qwex 2021-12-30 06:00:59 +00:00 committed by Adam Honse
parent bdecbd77fc
commit 57e7e6a823

View file

@ -1553,13 +1553,13 @@ void RGBController::DeviceCallThreadFunction()
{
if(CallFlag_UpdateMode.load() == true)
{
CallFlag_UpdateMode = false;
DeviceUpdateMode();
CallFlag_UpdateMode = false;
}
if(CallFlag_UpdateLEDs.load() == true)
{
CallFlag_UpdateLEDs = false;
DeviceUpdateLEDs();
CallFlag_UpdateLEDs = false;
}
else
{