mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 09:38:31 +00:00
Fixed small mistake in WLED readme
This commit is contained in:
parent
23bd1119f2
commit
b2848cfbaa
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user