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:
authorDavid Crocker <dcrocker@eschertech.com>2022-03-03 14:05:46 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-03-03 14:05:46 +0300
commit830931087cd432f9e77e7057e89d282af06a446a (patch)
tree22d54c276c93cb86f4ee97d3bb20286809918e23 /src/Platform
parent3789fd70509b95244634a43c430e54fb3b83c4a0 (diff)
Moved MaxThumbnails to Configuration.h and increased it to 4
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 db84814a..22820563 100644
--- a/src/Platform/RepRap.cpp
+++ b/src/Platform/RepRap.cpp
@@ -2459,7 +2459,7 @@ GCodeResult RepRap::GetFileInfoResponse(const char *filename, OutputBuffer *&res
((index == 0) ? '[' : ','), inf.height, inf.width, inf.format.ToString(), inf.offset, inf.size);
++index;
}
- while (index < GCodeFileInfo::MaxThumbnails && info.thumbnails[index].IsValid());
+ while (index < MaxThumbnails && info.thumbnails[index].IsValid());
response->cat(']');
}