diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-03-10 16:37:20 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-03-10 16:37:20 +0300 |
commit | 58b1f531d1f462e558e5940109b0157cc5fd5bad (patch) | |
tree | 73e1f06c2d8c8e9b8c95d391018c017a430865b3 /src/GPIO | |
parent | 24f99490aa2be4fb14f7aeee454ede55e3dfb919 (diff) |
Bug fix to previous change
Also increased max # of CAN boards and drivers
Diffstat (limited to 'src/GPIO')
-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 { |