diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-01-10 13:03:02 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-01-10 13:03:02 +0300 |
commit | f9ac8405c156cdf9fd7256724d49373e5f3e72da (patch) | |
tree | 1dbf7bc1b9f11a58986a26f32cc61db11f2374eb /src | |
parent | 3c7a6caf0d2167b685a8b4a67f753f1a2c973923 (diff) |
Changed "fmt" to "format" in M36 and rr_fileinfo response
Diffstat (limited to 'src')
-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 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; } |