Reduce number of Z realignments before Z calibration is requested

This commit is contained in:
Alex Voinea 2024-08-30 20:57:52 +02:00
parent d8e3c2b481
commit 8196e48684
1 changed files with 1 additions and 1 deletions

View File

@ -2771,7 +2771,7 @@ static void gcode_G80()
st_synchronize();
static uint8_t g80_fail_cnt = 0;
if (mesh_point != MESH_NUM_X_POINTS * MESH_NUM_Y_POINTS) {
if (g80_fail_cnt++ >= 2) {
if (g80_fail_cnt++ >= 1) {
kill(_T(MSG_MBL_FAILED_Z_CAL));
}
Sound_MakeSound(e_SOUND_TYPE_StandardAlert);