Don't use LCD alert unless error or alert level is reset later

This commit is contained in:
Scott Lahteine 2016-04-15 18:48:49 -07:00
parent 773229b020
commit e0830bf8f1
2 changed files with 2 additions and 2 deletions

View file

@ -5851,7 +5851,7 @@ inline void gcode_M428() {
if (!err) { if (!err) {
sync_plan_position(); sync_plan_position();
LCD_ALERTMESSAGEPGM(MSG_HOME_OFFSETS_APPLIED); LCD_MESSAGEPGM(MSG_HOME_OFFSETS_APPLIED);
#if HAS_BUZZER #if HAS_BUZZER
buzz(200, 659); buzz(200, 659);
buzz(200, 698); buzz(200, 698);

View file

@ -953,7 +953,7 @@ void lcd_cooldown() {
mbl.set_zigzag_z(_lcd_level_bed_position++, current_position[Z_AXIS]); mbl.set_zigzag_z(_lcd_level_bed_position++, current_position[Z_AXIS]);
if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) { if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
lcd_return_to_status(); lcd_return_to_status();
LCD_ALERTMESSAGEPGM(MSG_LEVEL_BED_DONE); LCD_MESSAGEPGM(MSG_LEVEL_BED_DONE);
#if HAS_BUZZER #if HAS_BUZZER
buzz(200, 659); buzz(200, 659);
buzz(200, 698); buzz(200, 698);