Merge pull request #8487 from Bob-the-Kuhn/M43-compatibility-1.1.x
[1.1.x] M43 end pin correction/compatibility
This commit is contained in:
commit
12b018e619
1 changed files with 1 additions and 1 deletions
|
@ -7027,7 +7027,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…
Reference in a new issue