Fix eeprom mesh interpolation

This commit is contained in:
Alex Voinea 2023-05-05 15:04:52 +02:00
parent 36d8de0727
commit a7d3dd720b
No known key found for this signature in database
GPG Key ID: 37EDFD565CB33BAD
1 changed files with 2 additions and 0 deletions

View File

@ -2856,6 +2856,8 @@ static void gcode_G80()
const float z0 = mbl.z_values[0][0] + *reinterpret_cast<int16_t*>(&z_offset_u) * 0.01;
mbl.set_z(col, row, z0);
}
} else {
mbl.set_z(col, row, NAN);
}
// check for points that are skipped