Sync and report changed position
This commit is contained in:
@ -108,7 +108,7 @@ void GcodeSuite::M420() {
|
||||
if (parser.seen('S')) set_bed_leveling_enabled(to_enable);
|
||||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
if (parser.seen('Z')) set_z_fade_height(parser.value_linear_units());
|
||||
if (parser.seen('Z')) set_z_fade_height(parser.value_linear_units(), false);
|
||||
#endif
|
||||
|
||||
const bool new_status = planner.leveling_active;
|
||||
|
@ -285,6 +285,7 @@ void GcodeSuite::G29() {
|
||||
bed_level_virt_interpolate();
|
||||
#endif
|
||||
set_bed_leveling_enabled(abl_should_enable);
|
||||
if (abl_should_enable) report_current_position();
|
||||
}
|
||||
return;
|
||||
} // parser.seen('W')
|
||||
|
Reference in New Issue
Block a user