mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-06-26 09:25:18 -06:00
🧑💻 Tweak G90 / G91 declaration
This commit is contained in:
parent
a2452a577b
commit
c377237fd8
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue