mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal] Initialize DIO to true in sim (#6670)
This commit is contained in:
@@ -66,6 +66,7 @@ HAL_DigitalHandle HAL_InitializeDIOPort(HAL_PortHandle portHandle,
|
||||
SimDIOData[channel].initialized = true;
|
||||
SimDIOData[channel].isInput = input;
|
||||
SimDIOData[channel].simDevice = 0;
|
||||
SimDIOData[channel].value = true;
|
||||
port->previousAllocation = allocationLocation ? allocationLocation : "";
|
||||
|
||||
return handle;
|
||||
|
||||
Reference in New Issue
Block a user