diff options
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 3ee8b45f..7498dc8d 100644 --- a/src/GPIO/GpioPorts.cpp +++ b/src/GPIO/GpioPorts.cpp @@ -74,6 +74,7 @@ GCodeResult GpInputPort::Configure(uint32_t gpinNumber, GCodeBuffer &gb, const S if (CanInterface::DeleteHandle(boardAddress, handle, reply) != GCodeResult::ok) { reprap.GetPlatform().Message(AddWarning(gb.GetResponseMessageType()), reply.c_str()); + reply.Clear(); } boardAddress = CanId::MasterAddress; } |