diff options
Diffstat (limited to 'src/GCodes/GCodes3.cpp')
-rw-r--r-- | src/GCodes/GCodes3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes3.cpp b/src/GCodes/GCodes3.cpp index 035b6250..571156ec 100644 --- a/src/GCodes/GCodes3.cpp +++ b/src/GCodes/GCodes3.cpp @@ -269,7 +269,7 @@ GCodeResult GCodes::DefineGrid(GCodeBuffer& gb, const StringRef &reply) if (!seenX && !seenY && !seenR && !seenS && !seenP) { - ReadLocker locker(reprap.GetMove().heightMapLock); + ReadLocker rlocker(reprap.GetMove().heightMapLock); // Just print the existing grid parameters if (defaultGrid.IsValid()) |