1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Fixed small mistake in WLED readme

This commit is contained in:
Darth Affe 2024-01-17 23:36:04 +01:00
parent 23bd1119f2
commit b2848cfbaa

View File

@ -42,7 +42,7 @@ public static class WledDiscoveryHelper
public static IEnumerable<(string address, WledInfo info)> DiscoverDevices(int waitFor = 500, int maxDevices = -1)
{
List<(string address, WledInfo info)> devices = [];
using ManualResetEventSlim waitEvent = new();
using ManualResetEventSlim waitEvent = new(false);
int devicesToDetect = maxDevices <= 0 ? int.MaxValue : maxDevices;