Fix access conflicts in HyperX controllers where keepalive thread was directly accessing hardware

This commit is contained in:
Adam Honse 2021-08-02 12:41:24 -05:00
parent 2d141be356
commit d13d54fcfd
7 changed files with 7 additions and 7 deletions

View file

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