From 3c0d5ba0a1db40842e23c2570d0e5580a688f830 Mon Sep 17 00:00:00 2001 From: bgort Date: Sun, 30 Apr 2017 11:22:31 -0400 Subject: [PATCH] allow idle() to be called - fixes sometimes crash/hang in G29 I; (#6505) --- Marlin/ubl_G29.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/ubl_G29.cpp b/Marlin/ubl_G29.cpp index a7071ae6d..a4269f13e 100755 --- a/Marlin/ubl_G29.cpp +++ b/Marlin/ubl_G29.cpp @@ -342,6 +342,7 @@ break; // No more invalid Mesh Points to populate } ubl.z_values[location.x_index][location.y_index] = NAN; + cnt++; } SERIAL_PROTOCOLLNPGM("Locations invalidated.\n"); }