mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Fix access conflicts in HyperX controllers where keepalive thread was directly accessing hardware
This commit is contained in:
@@ -131,7 +131,7 @@ void RGBController_HyperXPulsefireFPSPro::KeepaliveThread()
|
||||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
UpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
||||
@@ -140,7 +140,7 @@ void RGBController_HyperXPulsefireSurge::KeepaliveThread()
|
||||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
UpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
||||
Reference in New Issue
Block a user