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