diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2021-10-25 12:13:00 +0300 |
---|---|---|
committer | Christian Hammacher <bmasterc@gmail.com> | 2021-10-25 12:13:00 +0300 |
commit | 4fab707f0c205bb55e1c98a72be37b1069dc7ba3 (patch) | |
tree | ffe1db2df45cefcf08ef0dd59e29c9bbe294fc1e /src/Platform | |
parent | af4c424a01b73a7bb4ad9b2e9ebdf1f6172990bb (diff) |
Work towards v3.4-b6
Added SBC data types for null, uint64_t, and datetimes
Added new OM handler for file positions
Refactored GCodes::GetFilePosition
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 9c20d8a9..8761ac03 100644 --- a/src/Platform/RepRap.cpp +++ b/src/Platform/RepRap.cpp @@ -1813,7 +1813,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->GetPrintingFilePosition()); + response->catf(",\"filePosition\":%lu", gCodes->GetFilePosition()); // First Layer Duration is no longer included |