change to L for end pin for M43 Toggle command
This commit is contained in:
parent
594c075377
commit
9b80e1e04a
@ -6695,7 +6695,7 @@ inline void gcode_M42() {
|
|||||||
const bool I_flag = parser.boolval('I');
|
const bool I_flag = parser.boolval('I');
|
||||||
const int repeat = parser.intval('R', 1),
|
const int repeat = parser.intval('R', 1),
|
||||||
start = parser.intval('S'),
|
start = parser.intval('S'),
|
||||||
end = parser.intval('E', NUM_DIGITAL_PINS - 1),
|
end = parser.intval('L', NUM_DIGITAL_PINS - 1),
|
||||||
wait = parser.intval('W', 500);
|
wait = parser.intval('W', 500);
|
||||||
|
|
||||||
for (uint8_t pin = start; pin <= end; pin++) {
|
for (uint8_t pin = start; pin <= end; pin++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user