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:
authorChristian Hammacher <bmasterc@gmail.com>2021-10-25 12:13:00 +0300
committerChristian Hammacher <bmasterc@gmail.com>2021-10-25 12:13:00 +0300
commit4fab707f0c205bb55e1c98a72be37b1069dc7ba3 (patch)
treeffe1db2df45cefcf08ef0dd59e29c9bbe294fc1e /src/Platform
parentaf4c424a01b73a7bb4ad9b2e9ebdf1f6172990bb (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.cpp2
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