瀏覽代碼

🐛 Fix M913 typos (#22385)

squiddity 3 年之前
父節點
當前提交
49da4ee4e2
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      Marlin/src/gcode/feature/trinamic/M911-M914.cpp

+ 4
- 4
Marlin/src/gcode/feature/trinamic/M911-M914.cpp 查看文件

@@ -260,10 +260,10 @@
260 260
         #endif
261 261
 
262 262
         case Z_AXIS:
263
-          TERN_(Z_HAS_STEALTCHOP, if (index < 2) TMC_SET_PWMTHRS(Z,Z));
264
-          TERN_(Z2_HAS_STEALTCHOP, if (index == 0 || index == 2) TMC_SET_PWMTHRS(Z,Z2));
265
-          TERN_(Z3_HAS_STEALTCHOP, if (index == 0 || index == 3) TMC_SET_PWMTHRS(Z,Z3));
266
-          TERN_(Z4_HAS_STEALTCHOP, if (index == 0 || index == 4) TMC_SET_PWMTHRS(Z,Z4));
263
+          TERN_(Z_HAS_STEALTHCHOP, if (index < 2) TMC_SET_PWMTHRS(Z,Z));
264
+          TERN_(Z2_HAS_STEALTHCHOP, if (index == 0 || index == 2) TMC_SET_PWMTHRS(Z,Z2));
265
+          TERN_(Z3_HAS_STEALTHCHOP, if (index == 0 || index == 3) TMC_SET_PWMTHRS(Z,Z3));
266
+          TERN_(Z4_HAS_STEALTHCHOP, if (index == 0 || index == 4) TMC_SET_PWMTHRS(Z,Z4));
267 267
           break;
268 268
         #if E_STEPPERS
269 269
           case E_AXIS: {

Loading…
取消
儲存