Merge pull request #3516 from thinkyhead/rc_lcd_alert_only_on_error

Don't use LCD alert unless error or alert level is reset later
This commit is contained in:
Scott Lahteine 2016-04-15 19:56:24 -07:00
commit a5452902a6
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);