mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Call DeviceUpdateLEDs rather than UpdateLEDs for HyperX keepalive threads
This commit is contained in:
1 parent
5458692192
commit
bcd49298cd
4 files changed
+4
-4
No files matched your search
@@ -295,7 +295,7 @@ void RGBController_HyperXAlloyOrigins::KeepaliveThread()
|
||||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);;
|
||||
|
||||
@@ -351,7 +351,7 @@ void RGBController_HyperXKeyboard::KeepaliveThreadFunction()
|
||||
{
|
||||
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
|
||||
{
|
||||
UpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
}
|
||||
std::this_thread::sleep_for(10ms);;
|
||||
|
||||
Reference in new issue
Block a user