Cosmetic G29 ABL tweak

This commit is contained in:
Scott Lahteine 2020-11-24 17:53:26 -06:00
parent 296a2ad7e4
commit b28b2ca266

View File

@ -656,8 +656,9 @@ G29_TYPE GcodeSuite::G29() {
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
z_values[meshCount.x][meshCount.y] = measured_z + zoffset;
TERN_(EXTENSIBLE_UI, ExtUI::onMeshUpdate(meshCount, z_values[meshCount.x][meshCount.y]));
const float z = measured_z + zoffset;
z_values[meshCount.x][meshCount.y] = z;
TERN_(EXTENSIBLE_UI, ExtUI::onMeshUpdate(meshCount, z));
#endif