mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Fixed small mistake in WLED readme
This commit is contained in:
1 parent
23bd1119f2
commit
b2848cfbaa
1 file changed
+1
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user