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:
authorManuel Coenen <manuel@duet3d.com>2020-12-07 14:18:19 +0300
committerManuel Coenen <manuel@duet3d.com>2020-12-07 14:18:19 +0300
commit9f87bd8b97dd7f408b1283276c3ba02e677e2da5 (patch)
tree692a3eb0a3bcb3ab168b6c2b6a176f9c788890d6 /src/GCodes/GCodes4.cpp
parent662d3f85f4fb45c07de52e0f8c8201fbcbefa211 (diff)
Fix PanelDue not resetting at the end of flashing
Improve PanelDue resetting at the start of flashing (still not solved) Reduce flash memory usage by encapsulating debug statements in #if Fix FirmwareUpdate prerequisites failing to detect problems on Duet2+SBC and Duet 3 Mini 5+
Diffstat (limited to 'src/GCodes/GCodes4.cpp')
-rw-r--r--src/GCodes/GCodes4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes4.cpp b/src/GCodes/GCodes4.cpp
index 27ba7158..21616c8c 100644
--- a/src/GCodes/GCodes4.cpp
+++ b/src/GCodes/GCodes4.cpp
@@ -474,7 +474,7 @@ void GCodes::RunStateMachine(GCodeBuffer& gb, const StringRef& reply) noexcept
if ((firmwareUpdateModuleMap & (1u << module)) != 0)
{
firmwareUpdateModuleMap &= ~(1u << module);
- FirmwareUpdater::UpdateModule(module);
+ FirmwareUpdater::UpdateModule(module, serialChannelForPanelDueFlashing);
updating = true;
isFlashingPanelDue = (module == FirmwareUpdater::PanelDueFirmwareModule);
break;