From e01723447c4f5262297a94d37e8c57fe38cab7f5 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Tue, 17 Sep 2024 13:15:13 +0300 Subject: [PATCH] Output G90 in GCode init. #428 --- src/gcode/machine/GCodeMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcode/machine/GCodeMachine.cpp b/src/gcode/machine/GCodeMachine.cpp index 962426bf..aa2b9d18 100644 --- a/src/gcode/machine/GCodeMachine.cpp +++ b/src/gcode/machine/GCodeMachine.cpp @@ -87,7 +87,7 @@ void GCodeMachine::beginLine() { void GCodeMachine::start() { MachineAdapter::start(); axisSeen = 0; - *stream << (units == Units::METRIC ? "G21" : "G20") << '\n'; + *stream << (units == Units::METRIC ? "G21" : "G20") << "G90\n"; // TODO set other GCode state }