Call DeviceUpdateLEDs rather than UpdateLEDs for HyperX keepalive threads

This commit is contained in:
Adam Honse 2020-11-23 02:59:05 -06:00
parent 5458692192
commit bcd49298cd
4 changed files with 4 additions and 4 deletions

View file

@ -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);;

View file

@ -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);;

View file

@ -136,7 +136,7 @@ void RGBController_HyperXPulsefireSurge::KeepaliveThread()
{
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
{
UpdateLEDs();
DeviceUpdateLEDs();
}
}
std::this_thread::sleep_for(10ms);

View file

@ -136,7 +136,7 @@ void RGBController_HyperXMousemat::KeepaliveThread()
{
if((std::chrono::steady_clock::now() - last_update_time) > std::chrono::milliseconds(50))
{
UpdateLEDs();
DeviceUpdateLEDs();
}
}
std::this_thread::sleep_for(10ms);