Ver código fonte

🐛 Fix 2d mesh print (#24536)

tombrazier 3 anos atrás
pai
commit
deca553e18
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      Marlin/src/feature/bedlevel/bedlevel.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/bedlevel.cpp Ver arquivo

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

Carregando…
Cancelar
Salvar