Skip to content

Commit

Permalink
Removed an incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Sep 24, 2024
1 parent 7c88cf2 commit f117b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GCodes/GCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4449,7 +4449,7 @@ void GCodes::StopPrint(GCodeBuffer *gbp, StopPrintReason reason) noexcept
simulationMode = SimulationMode::off; // do this after we append the simulation info to the file so that DWC doesn't try to reload the file info too soon
reprap.GetMove().Simulate(simulationMode);
EndSimulation(nullptr);
reprap.GetPrintMonitor().StoppedPrint(); // must do this after printing the simulation details not before, because it clears the filename and pause time
reprap.GetPrintMonitor().StoppedPrint();

const uint32_t simMinutes = lrintf(simSeconds/60.0);
if (reason == StopPrintReason::normalCompletion)
Expand Down

0 comments on commit f117b49

Please sign in to comment.