Przeglądaj źródła

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

- The documentation is correct. The code was wrong.
Scott Lahteine 6 lat temu
rodzic
commit
3cbc3ecdd7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/gcode/config/M43.cpp

+ 1
- 1
Marlin/src/gcode/config/M43.cpp Wyświetl plik

38
   const bool ignore_protection = parser.boolval('I');
38
   const bool ignore_protection = parser.boolval('I');
39
   const int repeat = parser.intval('R', 1),
39
   const int repeat = parser.intval('R', 1),
40
             start = PARSED_PIN_INDEX('S', 0),
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
             wait = parser.intval('W', 500);
42
             wait = parser.intval('W', 500);
43
 
43
 
44
   for (uint8_t i = start; i <= end; i++) {
44
   for (uint8_t i = start; i <= end; i++) {

Ładowanie…
Anuluj
Zapisz