From c9de9411e65a8192cb8428d761ef2b31780537b8 Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Thu, 31 Aug 2023 07:48:28 +0200 Subject: [PATCH 1/2] Force-move-Z after searching for XY calibration points Bogus StallGuard readings may prevent the Z from moving at this spot which will result in other nasty behaviour. --- Firmware/mesh_bed_calibration.cpp | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Firmware/mesh_bed_calibration.cpp b/Firmware/mesh_bed_calibration.cpp index 8c82acc912..bb064aed96 100644 --- a/Firmware/mesh_bed_calibration.cpp +++ b/Firmware/mesh_bed_calibration.cpp @@ -2790,16 +2790,22 @@ BedSkewOffsetDetectionResultType improve_bed_offset_and_skew(int8_t method, int8 #endif //NEW_XYZCAL bool sample_z() { - bool sampled = true; - //make space - raise_z(150); - lcd_show_fullscreen_message_and_wait_P(_T(MSG_PLACE_STEEL_SHEET)); + bool sampled = true; + // make some space for the sheet + // Avoid calling raise_z(), because a false triggering stallguard may prevent the Z from moving. + // The extruder then may ram the sheet hard if not going down from some ~150mm height + current_position[Z_AXIS] = 0.F; + destination[Z_AXIS] = 150.F; + plan_buffer_line_destinationXYZE(homing_feedrate[Z_AXIS] / 60); - // Sample Z heights for the mesh bed leveling. - // In addition, store the results into an eeprom, to be used later for verification of the bed leveling process. - if (!sample_mesh_and_store_reference()) sampled = false; + lcd_show_fullscreen_message_and_wait_P(_T(MSG_PLACE_STEEL_SHEET)); - return sampled; + // Sample Z heights for the mesh bed leveling. + // In addition, store the results into an eeprom, to be used later for verification of the bed leveling process. + if (!sample_mesh_and_store_reference()) + sampled = false; + + return sampled; } void go_home_with_z_lift() From 5581b78eaaaf664f26a428860341b2368fc252e1 Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Thu, 31 Aug 2023 09:14:09 +0200 Subject: [PATCH 2/2] Update to FW3.13.1 --- Firmware/Configuration.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Firmware/Configuration.h b/Firmware/Configuration.h index 443eb73c82..b554dcdb60 100644 --- a/Firmware/Configuration.h +++ b/Firmware/Configuration.h @@ -15,16 +15,16 @@ extern const char _sPrinterMmuName[] PROGMEM; // Firmware version #define FW_MAJOR 3 #define FW_MINOR 13 -#define FW_REVISION 0 +#define FW_REVISION 1 //#define FW_FLAVOR RC //uncomment if DEBUG, DEVEL, ALPHA, BETA or RC -#define FW_FLAVERSION 1 //uncomment if FW_FLAVOR is defined and versioning is needed. Limited to max 8. +//#define FW_FLAVERSION 1 //uncomment if FW_FLAVOR is defined and versioning is needed. Limited to max 8. #ifndef FW_FLAVOR #define FW_VERSION STR(FW_MAJOR) "." STR(FW_MINOR) "." STR(FW_REVISION) #else #define FW_VERSION STR(FW_MAJOR) "." STR(FW_MINOR) "." STR(FW_REVISION) "-" STR(FW_FLAVOR) "" STR(FW_FLAVERSION) #endif -#define FW_COMMIT_NR 6873 +#define FW_COMMIT_NR 6876 // FW_VERSION_UNKNOWN means this is an unofficial build. // The firmware should only be checked into github with this symbol.