Add feedback sounds to MBL items
This commit is contained in:
parent
782c598e66
commit
b0a3c7a91c
|
@ -2471,6 +2471,14 @@ char* ftostr52(const float& x) {
|
||||||
mbl.active = 1;
|
mbl.active = 1;
|
||||||
enqueue_and_echo_commands_P(PSTR("G28"));
|
enqueue_and_echo_commands_P(PSTR("G28"));
|
||||||
lcd_return_to_status();
|
lcd_return_to_status();
|
||||||
|
#if ENABLED(NEWPANEL)
|
||||||
|
lcd_quick_feedback();
|
||||||
|
#endif
|
||||||
|
LCD_ALERTMESSAGEPGM("Leveling Done!");
|
||||||
|
#if HAS_BUZZER
|
||||||
|
buzz(200, 659);
|
||||||
|
buzz(200, 698);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
||||||
|
@ -2503,7 +2511,7 @@ char* ftostr52(const float& x) {
|
||||||
current_position[Y_AXIS] = MESH_MIN_Y;
|
current_position[Y_AXIS] = MESH_MIN_Y;
|
||||||
line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
|
line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
|
||||||
_lcd_level_bed_position = 0;
|
_lcd_level_bed_position = 0;
|
||||||
lcd_goto_menu(_lcd_level_bed);
|
lcd_goto_menu(_lcd_level_bed, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2515,7 +2523,7 @@ char* ftostr52(const float& x) {
|
||||||
axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
|
axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
|
||||||
mbl.reset();
|
mbl.reset();
|
||||||
enqueue_and_echo_commands_P(PSTR("G28"));
|
enqueue_and_echo_commands_P(PSTR("G28"));
|
||||||
lcd_goto_menu(_lcd_level_bed_homing);
|
lcd_goto_menu(_lcd_level_bed_homing, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // MANUAL_BED_LEVELING
|
#endif // MANUAL_BED_LEVELING
|
||||||
|
|
Loading…
Reference in a new issue