mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
Fixed auto-updater
This commit is contained in:
parent
56e7524aad
commit
69ac2e1be9
@ -75,8 +75,7 @@ namespace RGB.NET.Core
|
||||
{
|
||||
long preUpdateTicks = DateTime.Now.Ticks;
|
||||
|
||||
foreach (IRGBDevice device in _devices)
|
||||
device.Update();
|
||||
Update();
|
||||
|
||||
int sleep = (int)((UpdateFrequency * 1000.0) - ((DateTime.Now.Ticks - preUpdateTicks) / 10000.0));
|
||||
if (sleep > 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user