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>2021-03-31 15:30:16 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-03-31 15:30:16 +0300
commitc09da95d03cd3769173aa5e3af3e73aae8ae2be4 (patch)
tree5fa7ff6b6c0fd4e2f50ae754e2ae061b69c319a4 /src/GCodes/GCodeBuffer/StringParser.cpp
parent64ed2bdff2dd166a1a92f079c2bb124fcaf4dd54 (diff)
Finished including global variables in object model
Diffstat (limited to 'src/GCodes/GCodeBuffer/StringParser.cpp')
-rw-r--r--src/GCodes/GCodeBuffer/StringParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeBuffer/StringParser.cpp b/src/GCodes/GCodeBuffer/StringParser.cpp
index 95311bf4..0f475797 100644
--- a/src/GCodes/GCodeBuffer/StringParser.cpp
+++ b/src/GCodes/GCodeBuffer/StringParser.cpp
@@ -427,7 +427,7 @@ bool StringParser::ProcessConditionalGCode(const StringRef& reply, BlockType ski
break;
case 3:
- if (doingFile && StringStartsWith(command, "var"))
+ if (StringStartsWith(command, "var"))
{
ProcessVarOrGlobalCommand(false);
return true;