Browse Source

Soft factory reset does not reset Live Adjust Z to 0

michalprusa 8 years ago
parent
commit
977b58269a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Firmware/Marlin_main.cpp

+ 4 - 1
Firmware/Marlin_main.cpp

@@ -1048,7 +1048,6 @@ void setup()
     }
     
   if (calibration_status() == CALIBRATION_STATUS_ASSEMBLED ||
-      calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION ||
       calibration_status() == CALIBRATION_STATUS_UNKNOWN) {
       // Reset the babystepping values, so the printer will not move the Z axis up when the babystepping is enabled.
       eeprom_update_word((uint16_t*)EEPROM_BABYSTEP_Z, 0);
@@ -1059,6 +1058,10 @@ void setup()
       // Show the message.
       lcd_show_fullscreen_message_and_wait_P(MSG_BABYSTEP_Z_NOT_SET);
       lcd_update_enable(true);
+  } else if (calibration_status() == CALIBRATION_STATUS_Z_CALIBRATION) {
+      // Show the message.
+      lcd_show_fullscreen_message_and_wait_P(MSG_FOLLOW_CALIBRATION_FLOW);
+      lcd_update_enable(true);
   }
 
   // Store the currently running firmware into an eeprom,