mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 22:20:56 +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
1 changed files with 6 additions and 0 deletions
|
@ -93,6 +93,12 @@ public:
|
|||
void debug();
|
||||
#endif
|
||||
|
||||
GCodeParser() {
|
||||
#if ENABLED(INCH_MODE_SUPPORT)
|
||||
set_input_linear_units(LINEARUNIT_MM);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Reset is done before parsing
|
||||
static void reset();
|
||||
|
||||
|
|
Loading…
Reference in a new issue