浏览代码

Fix 'M43 T' to use 'L' as last pin

- The documentation is correct. The code was wrong.
Scott Lahteine 6 年前
父节点
当前提交
3cbc3ecdd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/gcode/config/M43.cpp

+ 1
- 1
Marlin/src/gcode/config/M43.cpp 查看文件

@@ -38,7 +38,7 @@ inline void toggle_pins() {
38 38
   const bool ignore_protection = parser.boolval('I');
39 39
   const int repeat = parser.intval('R', 1),
40 40
             start = PARSED_PIN_INDEX('S', 0),
41
-            end = PARSED_PIN_INDEX('E', NUM_DIGITAL_PINS - 1),
41
+            end = PARSED_PIN_INDEX('L', NUM_DIGITAL_PINS - 1),
42 42
             wait = parser.intval('W', 500);
43 43
 
44 44
   for (uint8_t i = start; i <= end; i++) {

正在加载...
取消
保存