Skip to content

Commit

Permalink
Changed WLED-devices to flush and reduced heartbeat timer
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthAffe committed Jan 18, 2024
1 parent b2848cf commit 1df23a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RGB.NET.Devices.WLED/Generic/WLedRGBDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ internal WledRGBDevice(WledRGBDeviceInfo info, string address, IDeviceUpdateTrig
: base(info, new WledDeviceUpdateQueue(updateTrigger, address, info.Info.UDPPort, info.Info.Leds.Count))
{
InitializeLayout();

RequiresFlush = true;
}

#endregion
Expand Down
2 changes: 1 addition & 1 deletion RGB.NET.Devices.WLED/WLedDeviceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed class WledDeviceProvider : AbstractRGBDeviceProvider
{
#region Constants

private const int HEARTBEAT_TIMER = 1000;
private const int HEARTBEAT_TIMER = 250;

#endregion

Expand Down

0 comments on commit 1df23a6

Please sign in to comment.