Message that temp calibration has not been run yet is displayed only if temp. calibration is activated

This commit is contained in:
PavelSindler 2017-04-06 19:44:03 +02:00
parent 08a59f7fef
commit ccdf5e9c41
2 changed files with 5 additions and 5 deletions

View File

@ -1164,7 +1164,7 @@ void setup()
// Show the message. // Show the message.
lcd_show_fullscreen_message_and_wait_P(MSG_BABYSTEP_Z_NOT_SET); lcd_show_fullscreen_message_and_wait_P(MSG_BABYSTEP_Z_NOT_SET);
lcd_update_enable(true); lcd_update_enable(true);
} else if (calibration_status() == CALIBRATION_STATUS_PINDA) { } else if (calibration_status() == CALIBRATION_STATUS_PINDA && temp_cal_active == true) {
lcd_show_fullscreen_message_and_wait_P(MSG_PINDA_NOT_CALIBRATED); lcd_show_fullscreen_message_and_wait_P(MSG_PINDA_NOT_CALIBRATED);
lcd_update_enable(true); lcd_update_enable(true);
} else if (calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION) { } else if (calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION) {
@ -6269,7 +6269,7 @@ void temp_compensation_apply() {
plan_set_z_position(current_position[Z_AXIS]); plan_set_z_position(current_position[Z_AXIS]);
} }
else { else {
//message that we have no temp compensation data //message that we have no temp compensation data ?
} }
} }