🐛 Fix M_State_grbl when G29 calls G28
This commit is contained in:
@@ -75,8 +75,6 @@ void GcodeSuite::G29() {
|
||||
}
|
||||
#endif
|
||||
|
||||
TERN_(FULL_REPORT_TO_HOST_FEATURE, set_and_report_grblstate(M_PROBE));
|
||||
|
||||
static int mbl_probe_index = -1;
|
||||
|
||||
MeshLevelingState state = (MeshLevelingState)parser.byteval('S', (int8_t)MeshReport);
|
||||
@@ -85,6 +83,8 @@ void GcodeSuite::G29() {
|
||||
return;
|
||||
}
|
||||
|
||||
TERN_(FULL_REPORT_TO_HOST_FEATURE, set_and_report_grblstate(M_PROBE));
|
||||
|
||||
int8_t ix, iy;
|
||||
ix = iy = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user