Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/GPIO
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-03-10 16:37:20 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-03-10 16:37:20 +0300
commit58b1f531d1f462e558e5940109b0157cc5fd5bad (patch)
tree73e1f06c2d8c8e9b8c95d391018c017a430865b3 /src/GPIO
parent24f99490aa2be4fb14f7aeee454ede55e3dfb919 (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.cpp1
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
{