🐛 Fix 2d mesh print (#24536)
This commit is contained in:
parent
c880c7ed45
commit
733ca940c0
@ -154,7 +154,7 @@ void reset_bed_level() {
|
|||||||
#endif
|
#endif
|
||||||
LOOP_L_N(x, sx) {
|
LOOP_L_N(x, sx) {
|
||||||
SERIAL_CHAR(' ');
|
SERIAL_CHAR(' ');
|
||||||
const float offset = values[x * sx + y];
|
const float offset = values[x * sy + y];
|
||||||
if (!isnan(offset)) {
|
if (!isnan(offset)) {
|
||||||
if (offset >= 0) SERIAL_CHAR('+');
|
if (offset >= 0) SERIAL_CHAR('+');
|
||||||
SERIAL_ECHO_F(offset, int(precision));
|
SERIAL_ECHO_F(offset, int(precision));
|
||||||
|
Loading…
Reference in New Issue
Block a user