diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 4e8a9e380..3469392f0 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -312,7 +312,7 @@ static bool chdkActive = false; //! @{ bool saved_printing = false; //!< Print is paused and saved in RAM uint32_t saved_sdpos = 0; //!< SD card position, or line number in case of USB printing -uint8_t saved_printing_type = PowerPanic::PRINT_TYPE_SD; +uint8_t saved_printing_type = PowerPanic::PRINT_TYPE_NONE; float saved_pos[NUM_AXIS] = { X_COORD_INVALID, 0, 0, 0 }; uint16_t saved_feedrate2 = 0; //!< Default feedrate (truncated from float) static int saved_feedmultiply2 = 0; diff --git a/Firmware/power_panic.cpp b/Firmware/power_panic.cpp index 8cc5ada43..0b8e7b33c 100644 --- a/Firmware/power_panic.cpp +++ b/Firmware/power_panic.cpp @@ -315,11 +315,12 @@ void recover_print(uint8_t automatic) { // Recover position, temperatures and extrude_multipliers bool mbl_was_active = recover_machine_state_after_power_panic(); - // Lift the print head 25mm, first to avoid collisions with oozed material with the print, + // Lift the print head 20mm, first to avoid collisions with oozed material with the print, // and second also so one may remove the excess priming material. if(eeprom_read_byte((uint8_t*)EEPROM_UVLO) == PowerPanic::PENDING_RECOVERY) { - enquecommandf_P(PSTR("G1 Z%.3f F800"), current_position[Z_AXIS] + 25); + enquecommandf_P(PSTR("G1 Z%.3f F800"), current_position[Z_AXIS] + Z_PAUSE_LIFT); + eeprom_update_byte((uint8_t*)EEPROM_UVLO, PowerPanic::PENDING_RECOVERY_RETRY); } // Home X and Y axes. Homing just X and Y shall not touch the babystep and the world2machine