1
0
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:
Scott Lahteine 2018-07-17 16:51:51 -05:00
parent 58775cc694
commit 17e1eec21e

View File

@ -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();