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

master
Scott Lahteine 9 years ago
parent 773229b020
commit e0830bf8f1

@ -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);

@ -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);

Loading…
Cancel
Save