1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 01:58:30 +00:00

Merge pull request #373 from DarthAffe/SDK/Wled

Changed WLED-devices to flush and reduced heartbeat timer
This commit is contained in:
DarthAffe 2024-01-18 23:41:52 +01:00 committed by GitHub
commit ef980f754c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ public sealed class WledRGBDevice : AbstractRGBDevice<WledRGBDeviceInfo>, IWledR
: base(info, new WledDeviceUpdateQueue(updateTrigger, address, info.Info.UDPPort, info.Info.Leds.Count))
{
InitializeLayout();
RequiresFlush = true;
}
#endregion

View File

@ -16,7 +16,7 @@ public sealed class WledDeviceProvider : AbstractRGBDeviceProvider
{
#region Constants
private const int HEARTBEAT_TIMER = 1000;
private const int HEARTBEAT_TIMER = 250;
#endregion