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
path: root/src
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-01-10 13:03:02 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-01-10 13:03:02 +0300
commitf9ac8405c156cdf9fd7256724d49373e5f3e72da (patch)
tree1dbf7bc1b9f11a58986a26f32cc61db11f2374eb /src
parent3c7a6caf0d2167b685a8b4a67f753f1a2c973923 (diff)
Changed "fmt" to "format" in M36 and rr_fileinfo response
Diffstat (limited to 'src')
-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 b2c56027..df5c1756 100644
--- a/src/Platform/RepRap.cpp
+++ b/src/Platform/RepRap.cpp
@@ -2425,7 +2425,7 @@ GCodeResult RepRap::GetFileInfoResponse(const char *filename, OutputBuffer *&res
do
{
const GCodeFileInfo::ThumbnailInfo& inf = info.thumbnails[index];
- response->catf("%c{\"width\":%u,\"height\":%u,\"fmt\":\"%s\",\"offset\":%" PRIu32 ",\"size\":%" PRIu32 "}",
+ response->catf("%c{\"width\":%u,\"height\":%u,\"format\":\"%s\",\"offset\":%" PRIu32 ",\"size\":%" PRIu32 "}",
((index == 0) ? '[' : ','), inf.height, inf.width, inf.format.ToString(), inf.offset, inf.size);
++index;
}