Fix position sync on M420 S0
This commit is contained in:
parent
2ec482a102
commit
b8fe3bbd6d
1 changed files with 2 additions and 2 deletions
|
@ -84,12 +84,12 @@ void GcodeSuite::M420() {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
xyz_pos_t oldpos = current_position;
|
||||||
|
|
||||||
// If disabling leveling do it right away
|
// If disabling leveling do it right away
|
||||||
// (Don't disable for just M420 or M420 V)
|
// (Don't disable for just M420 or M420 V)
|
||||||
if (seen_S && !to_enable) set_bed_leveling_enabled(false);
|
if (seen_S && !to_enable) set_bed_leveling_enabled(false);
|
||||||
|
|
||||||
xyz_pos_t oldpos = current_position;
|
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||||
|
|
||||||
// L to load a mesh from the EEPROM
|
// L to load a mesh from the EEPROM
|
||||||
|
|
Reference in a new issue