From 975718fc89f4a4a6a7eaefeff2e6bbb03281b117 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Sun, 15 Jan 2017 23:09:42 +0100 Subject: [PATCH] reset xyz calibration resets live adjust also --- Firmware/Marlin_main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index c5a08c77..bf4f06e1 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -3289,6 +3289,11 @@ void process_commands() break; case 44: // M44: Prusa3D: Reset the bed skew and offset calibration. + + // Reset the baby step value and the baby step applied flag. + calibration_status_store(CALIBRATION_STATUS_ASSEMBLED); + eeprom_update_word((uint16_t*)EEPROM_BABYSTEP_Z, 0); + // Reset the skew and offset in both RAM and EEPROM. reset_bed_offset_and_skew(); // Reset world2machine_rotation_and_skew and world2machine_shift, therefore