Explorar el Código

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

- The documentation is correct. The code was wrong.
Scott Lahteine hace 6 años
padre
commit
3cbc3ecdd7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/gcode/config/M43.cpp

+ 1
- 1
Marlin/src/gcode/config/M43.cpp Ver fichero

@@ -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…
Cancelar
Guardar