mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 23:07:42 +00:00
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