Make sure linear units are initialized
Based on #11295 Co-Authored-By: Giuliano <gmagician@users.noreply.github.com>
This commit is contained in:
parent
58775cc694
commit
17e1eec21e
@ -93,6 +93,12 @@ public:
|
|||||||
void debug();
|
void debug();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GCodeParser() {
|
||||||
|
#if ENABLED(INCH_MODE_SUPPORT)
|
||||||
|
set_input_linear_units(LINEARUNIT_MM);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
// Reset is done before parsing
|
// Reset is done before parsing
|
||||||
static void reset();
|
static void reset();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user