Fixed small mistake in WLED readme

This commit is contained in:
DarthAffe committed 2024-01-17 23:36:04 +01:00
1 parent 23bd1119f2
commit b2848cfbaa
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ public static class WledDiscoveryHelper
public static IEnumerable<(string address, WledInfo info)> DiscoverDevices(int waitFor = 500, int maxDevices = -1) public static IEnumerable<(string address, WledInfo info)> DiscoverDevices(int waitFor = 500, int maxDevices = -1)
{ {
List<(string address, WledInfo info)> devices = []; List<(string address, WledInfo info)> devices = [];
using ManualResetEventSlim waitEvent = new(); using ManualResetEventSlim waitEvent = new(false);
int devicesToDetect = maxDevices <= 0 ? int.MaxValue : maxDevices; int devicesToDetect = maxDevices <= 0 ? int.MaxValue : maxDevices;