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:
authorDavid Crocker <dcrocker@eschertech.com>2021-09-03 19:44:38 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-09-03 19:44:38 +0300
commit762a444079190a302077397cc817a5e38804b88c (patch)
tree8f178d871f76a91a9768f15ef3a84f3174f871a9 /src/Platform
parent670d8f90065b3e2f66d342c12fb20c37e2fa56d2 (diff)
Added support for pausing macros and restarting them
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/RepRap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/RepRap.cpp b/src/Platform/RepRap.cpp
index 4ca5d52f..3aed79c8 100644
--- a/src/Platform/RepRap.cpp
+++ b/src/Platform/RepRap.cpp
@@ -1801,7 +1801,7 @@ OutputBuffer *RepRap::GetStatusResponse(uint8_t type, ResponseSource source) con
response->catf(",\"fractionPrinted\":%.1f", (double)((printMonitor->IsPrinting()) ? (printMonitor->FractionOfFilePrinted() * 100.0) : 0.0));
// Byte position of the file being printed
- response->catf(",\"filePosition\":%lu", gCodes->GetFilePosition());
+ response->catf(",\"filePosition\":%lu", gCodes->GetPrintingFilePosition());
// First Layer Duration is no longer included