Skip to content

Commit

Permalink
💡 Add G28 L description (MarlinFirmware#22144)
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbro authored and Steve-Airbox committed Aug 31, 2021
1 parent 07daf90 commit ea1172f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@
* None Home to all axes with no parameters.
* With QUICK_HOME enabled XY will home together, then Z.
*
* O Home only if position is unknown
*
* Rn Raise by n mm/inches before homing
* 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
* R<linear> Raise by n mm/inches before homing
*
* Cartesian/SCARA parameters
*
Expand Down Expand Up @@ -229,7 +229,7 @@ void GcodeSuite::G28() {
#endif

// 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");
return;
}
Expand Down

0 comments on commit ea1172f

Please sign in to comment.