We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91de477 commit 649e617Copy full SHA for 649e617
src/StreamDeckSharp/StreamDeck.cs
@@ -16,14 +16,13 @@ public static class StreamDeck
16
/// </summary>
17
/// <returns>The default <see cref="IStreamDeckBoard"/> HID</returns>
18
/// <exception cref="StreamDeckNotFoundException">Thrown if no Stream Deck is found</exception>
19
- public static IStreamDeckBoard OpenDevice(bool useWriteCache = true, params IUsbHidHardware[] hardware)
+ public static IStreamDeckBoard OpenDevice(params IUsbHidHardware[] hardware)
20
{
21
var dev = EnumerateDevices(hardware).FirstOrDefault();
22
23
if (dev is null)
24
throw new StreamDeckNotFoundException();
25
26
- dev.UseWriteCache = useWriteCache;
27
return dev.Open();
28
}
29
0 commit comments