🧑‍💻 Tweak G90 / G91 declaration

This commit is contained in:
Scott Lahteine 2025-05-31 16:05:13 -05:00
parent a2452a577b
commit c377237fd8
2 changed files with 5 additions and 2 deletions

View file

@ -458,8 +458,8 @@ void GcodeSuite::process_parsed_command(bool no_ok/*=false*/) {
case 80: G80(); break; // G80: Reset the current motion mode
#endif
case 90: set_relative_mode(false); break; // G90: Absolute Mode
case 91: set_relative_mode(true); break; // G91: Relative Mode
case 90: G90(); break; // G90: Absolute Mode
case 91: G91(); break; // G91: Relative Mode
case 92: G92(); break; // G92: Set current axis position(s)

View file

@ -632,6 +632,9 @@ private:
static void G80();
#endif
static void G90() { set_relative_mode(false); }
static void G91() { set_relative_mode(true); }
static void G92();
#if ENABLED(CALIBRATION_GCODE)