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
diff options
context:
space:
mode:
Diffstat (limited to 'src/Comms/PanelDueUpdater.cpp')
-rw-r--r--src/Comms/PanelDueUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Comms/PanelDueUpdater.cpp b/src/Comms/PanelDueUpdater.cpp
index 41158da9..92c5989c 100644
--- a/src/Comms/PanelDueUpdater.cpp
+++ b/src/Comms/PanelDueUpdater.cpp
@@ -159,7 +159,7 @@ void PanelDueUpdater::Spin() noexcept
// Since writing messages via AppendAuxReply is disabled while flashing we need to send it directly
auto auxPort = GetAuxPort();
auxPort->write('\n'); // Make sure the previous message is regarded as terminated by PanelDue
- auxPort->write(panelDueCommandEraseAndReset);
+ auxPort->print(panelDueCommandEraseAndReset);
auxPort->flush();
state = FlashState::waitAfterEraseAndReset;
erasedAndResetAt = millis();