Преглед изворни кода

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++) {

Loading…
Откажи
Сачувај