Skip to content

Commit 047a4ce

Browse files
committed
use GpioConnectionDriver by default as documented
1 parent 4cd0b27 commit 047a4ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/Test.Gpio.Chaser/CommandLineExtensionMethods.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ private static IGpioConnectionDriver GetDriver(string driverName)
4949
{
5050
switch (driverName)
5151
{
52-
case "default":
53-
return new GpioConnectionDriver();
5452
case "memory":
5553
return new MemoryGpioConnectionDriver();
5654
case "file":
5755
return new FileGpioConnectionDriver();
5856
case "":
59-
return null;
57+
return new GpioConnectionDriver();
6058

6159
default:
6260
throw new ArgumentOutOfRangeException("driverName", driverName,

0 commit comments

Comments
 (0)