Fix correction nMeasPoints

This commit is contained in:
Alex Voinea 2023-05-05 10:23:36 +02:00
parent fbfc6bf4a5
commit 07b9447ee1
No known key found for this signature in database
GPG Key ID: 37EDFD565CB33BAD
1 changed files with 1 additions and 1 deletions

View File

@ -3124,7 +3124,7 @@ static void gcode_G80()
+ correction[0] * (MESH_NUM_X_POINTS - 1 - col)
+ correction[1] * col
+ correction[2] * (MESH_NUM_Y_POINTS - 1 - row)
+ correction[3] * row) / (float)(nMeasPoints - 1);
+ correction[3] * row) / (float)(MESH_NUM_X_POINTS - 1);
}
}
// SERIAL_ECHOLNPGM("Bed leveling correction finished");