Skip to content

Commit 9ac9f20

Browse files
tombrazierLCh-77
authored andcommitted
🐛 Fix 2d mesh print (MarlinFirmware#24536)
1 parent 930df18 commit 9ac9f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/feature/bedlevel/bedlevel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void reset_bed_level() {
154154
#endif
155155
LOOP_L_N(x, sx) {
156156
SERIAL_CHAR(' ');
157-
const float offset = values[x * sx + y];
157+
const float offset = values[x * sy + y];
158158
if (!isnan(offset)) {
159159
if (offset >= 0) SERIAL_CHAR('+');
160160
SERIAL_ECHO_F(offset, int(precision));

0 commit comments

Comments
 (0)