diff options
Diffstat (limited to 'src/GPIO/GpioPorts.cpp')
-rw-r--r-- | src/GPIO/GpioPorts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GPIO/GpioPorts.cpp b/src/GPIO/GpioPorts.cpp index 708ae893..89440a23 100644 --- a/src/GPIO/GpioPorts.cpp +++ b/src/GPIO/GpioPorts.cpp @@ -108,6 +108,7 @@ GCodeResult GpInputPort::Configure(uint32_t gpinNumber, GCodeBuffer &gb, const S if (port.AssignPort(pinName.c_str(), reply, PinUsedBy::gpin, PinAccess::read)) { currentState = port.Read(); + rslt = GCodeResult::ok; } else { |