Changed WLED-devices to flush and reduced heartbeat timer

This commit is contained in:
DarthAffe committed 2024-01-18 23:35:19 +01:00
1 parent b2848cfbaa
commit 1df23a6b36
2 files changed
+3 -1

No files matched your search

@@ -18,6 +18,8 @@ public sealed class WledRGBDevice : AbstractRGBDevice<WledRGBDeviceInfo>, IWledR
: base(info, new WledDeviceUpdateQueue(updateTrigger, address, info.Info.UDPPort, info.Info.Leds.Count)) : base(info, new WledDeviceUpdateQueue(updateTrigger, address, info.Info.UDPPort, info.Info.Leds.Count))
{ {
InitializeLayout(); InitializeLayout();
RequiresFlush = true;
} }
#endregion #endregion
+1 -1
View File
@@ -16,7 +16,7 @@ public sealed class WledDeviceProvider : AbstractRGBDeviceProvider
{ {
#region Constants #region Constants
private const int HEARTBEAT_TIMER = 1000; private const int HEARTBEAT_TIMER = 250;
#endregion #endregion