mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 14:24:34 +00:00
🩹 Fix settings G21 report (#23338)
This commit is contained in:
parent
c80ef71c6b
commit
1b876c170f
@ -3171,12 +3171,13 @@ void MarlinSettings::reset() {
|
||||
// Announce current units, in case inches are being displayed
|
||||
//
|
||||
CONFIG_ECHO_HEADING("Linear Units");
|
||||
CONFIG_ECHO_START();
|
||||
#if ENABLED(INCH_MODE_SUPPORT)
|
||||
SERIAL_ECHO_MSG(" G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
|
||||
SERIAL_ECHOPGM(" G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
|
||||
#else
|
||||
SERIAL_ECHO_MSG(" G21 ;");
|
||||
SERIAL_ECHOPGM(" G21 ;");
|
||||
#endif
|
||||
gcode.say_units();
|
||||
gcode.say_units(); // " (in/mm)"
|
||||
|
||||
//
|
||||
// M149 Temperature units
|
||||
|
Loading…
Reference in New Issue
Block a user