diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-09-03 19:44:38 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-09-03 19:44:38 +0300 |
commit | 762a444079190a302077397cc817a5e38804b88c (patch) | |
tree | 8f178d871f76a91a9768f15ef3a84f3174f871a9 /src/Platform | |
parent | 670d8f90065b3e2f66d342c12fb20c37e2fa56d2 (diff) |
Added support for pausing macros and restarting them
Diffstat (limited to 'src/Platform')
-rw-r--r-- | src/Platform/RepRap.cpp | 2 |
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 |