mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 11:35:21 -04:00
Fix access conflicts in HyperX controllers where keepalive thread was directly accessing hardware
This commit is contained in:
@@ -329,7 +329,7 @@ void RGBController_HyperXAlloyElite2::KeepaliveThreadFunction()
|
||||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(1000))
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
UpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(50ms);
|
||||
|
||||
Reference in New Issue
Block a user