Skip to content

Commit

Permalink
🚸 Fix alert level after Stow Z-Probe (MarlinFirmware#27404)
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeydave authored Sep 9, 2024
1 parent 8bae8bb commit 7634ffe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/bedlevel/abl/G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ G29_TYPE GcodeSuite::G29() {

#endif // AUTO_BED_LEVELING_3POINT

TERN_(HAS_STATUS_MESSAGE, ui.reset_status());
ui.reset_status();

// Stow the probe. No raise for FIX_MOUNTED_PROBE.
if (probe.stow()) {
Expand Down
5 changes: 3 additions & 2 deletions Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {

FSTR_P const ds_fstr = deploy ? GET_TEXT_F(MSG_MANUAL_DEPLOY) : GET_TEXT_F(MSG_MANUAL_STOW);
ui.return_to_status(); // To display the new status message
ui.set_max_status(ds_fstr);
ui.set_max_status(ds_fstr); // Set a status message that won't be overwritten by the host
SERIAL_ECHOLN(deploy ? GET_EN_TEXT_F(MSG_MANUAL_DEPLOY) : GET_EN_TEXT_F(MSG_MANUAL_STOW));

OKAY_BUZZ();
Expand All @@ -381,7 +381,8 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
#endif
TERN_(HAS_RESUME_CONTINUE, wait_for_user_response());

ui.reset_status();
ui.reset_alert_level();
//ui.reset_status();

#endif // PAUSE_BEFORE_DEPLOY_STOW

Expand Down

0 comments on commit 7634ffe

Please sign in to comment.