1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 13:25:54 +00:00

🐛 Fix 2d mesh print (#24536)

This commit is contained in:
tombrazier 2022-07-23 05:32:28 +01:00 committed by Scott Lahteine
parent adeca47292
commit 495002e158

View File

@ -154,7 +154,7 @@ void reset_bed_level() {
#endif
LOOP_L_N(x, sx) {
SERIAL_CHAR(' ');
const float offset = values[x * sx + y];
const float offset = values[x * sy + y];
if (!isnan(offset)) {
if (offset >= 0) SERIAL_CHAR('+');
SERIAL_ECHO_F(offset, int(precision));