Browse Source

💡 Add G28 L description (#22144)

vanilla_fb_2.0.x
Katelyn Schiesser 3 years ago
committed by Scott Lahteine
parent
commit
ce7bbafb8f
  1. 8
      Marlin/src/gcode/calibrate/G28.cpp

8
Marlin/src/gcode/calibrate/G28.cpp

@ -195,9 +195,9 @@
* None Home to all axes with no parameters. * None Home to all axes with no parameters.
* With QUICK_HOME enabled XY will home together, then Z. * With QUICK_HOME enabled XY will home together, then Z.
* *
* O Home only if position is unknown * L<bool> Force leveling state ON (if possible) or OFF after homing (Requires RESTORE_LEVELING_AFTER_G28 or ENABLE_LEVELING_AFTER_G28)
* * O Home only if the position is not known and trusted
* Rn Raise by n mm/inches before homing * R<linear> Raise by n mm/inches before homing
* *
* Cartesian/SCARA parameters * Cartesian/SCARA parameters
* *
@ -229,7 +229,7 @@ void GcodeSuite::G28() {
#endif #endif
// Home (O)nly if position is unknown // Home (O)nly if position is unknown
if (!axes_should_home() && parser.boolval('O')) { if (!axes_should_home() && parser.seen_test('O')) {
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("> homing not needed, skip"); if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("> homing not needed, skip");
return; return;
} }

Loading…
Cancel
Save