Skip to content

Commit 73330f4

Browse files
committed
Fix build
1 parent 55d8dbc commit 73330f4

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/devices/Board/Board.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ private static GpioDriver GetBestDriverForBoardOnWindows()
405405

406406
if (baseBoardProduct == HummingBoardProduct || baseBoardProduct.StartsWith($"{HummingBoardProduct} "))
407407
{
408-
return new HummingBoardDriver();
408+
throw new PlatformNotSupportedException();
409409
}
410410

411411
// Default for Windows IoT Core on a non-specific device
412-
return new Windows10Driver();
412+
throw new PlatformNotSupportedException();
413413
}
414414

415415
/// <summary>

tools/ArduinoCsCompiler/MicroCompiler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,6 @@ public ExecutionSet PrepareProgram(MethodInfo mainEntryPoint, CompilerSettings c
20992099
set.SuppressType(typeof(System.Device.Gpio.Drivers.LibGpiodDriver));
21002100
set.SuppressType(typeof(System.Device.Gpio.Drivers.RaspberryPi3Driver));
21012101
set.SuppressType(typeof(System.Device.Gpio.Drivers.UnixDriver));
2102-
set.SuppressType(typeof(System.Device.Gpio.Drivers.Windows10Driver));
21032102
set.SuppressType(typeof(Iot.Device.Board.DummyGpioDriver));
21042103
set.SuppressType(typeof(Iot.Device.Board.KeyboardGpioDriver));
21052104

tools/DevicesApiTester/Commands/Gpio/GpioDriverType.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ public enum GpioDriverType
1111
[ImplementationType(null)]
1212
Default,
1313

14-
[ImplementationType(typeof(Windows10Driver))]
15-
Windows,
16-
1714
[ImplementationType(typeof(UnixDriver))]
1815
Unix,
1916

20-
[ImplementationType(typeof(HummingBoardDriver))]
21-
HummingBoard,
22-
2317
[ImplementationType(typeof(RaspberryPi3Driver))]
2418
RPi3,
2519
}

0 commit comments

Comments
 (0)