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-07-04 11:19:32 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-07-04 11:19:32 +0300
commit2814b809db709e7b0eff3639315372019b1f2f84 (patch)
treed41db112d4b3f76d7ebf71704e6f6f470526778e
parent4aaab38a855c0ec32d4cb8d701a61aaa596c59dc (diff)
Additions to recent commits for builds with SBC support
-rw-r--r--src/GCodes/GCodeBuffer/BinaryParser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GCodes/GCodeBuffer/BinaryParser.cpp b/src/GCodes/GCodeBuffer/BinaryParser.cpp
index b1e8e4fa..3dcb2650 100644
--- a/src/GCodes/GCodeBuffer/BinaryParser.cpp
+++ b/src/GCodes/GCodeBuffer/BinaryParser.cpp
@@ -841,7 +841,7 @@ void BinaryParser::AddParameters(VariableSet& vs, int codeRunning) noexcept
case DataType::String:
{
StringHandle sh(seenParameterValue, param->intValue);
- ev.Set(sh);
+ ev.SetStringHandle(sh);
}
break;
@@ -855,15 +855,15 @@ void BinaryParser::AddParameters(VariableSet& vs, int codeRunning) noexcept
break;
case DataType::Float:
- ev.Set(param->floatValue);
+ ev.SetFloat(param->floatValue);
break;
case DataType::Int:
- ev.Set(param->intValue);
+ ev.SetInt(param->intValue);
break;
case DataType::UInt:
- ev.Set((int32_t)param->uintValue);
+ ev.SetInt((int32_t)param->uintValue);
break;
default: