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:
Bob-the-Kuhn 2017-11-19 11:01:10 -06:00 committed by GitHub
commit 12b018e619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7027,7 +7027,7 @@ inline void gcode_M42() {
const bool I_flag = parser.boolval('I');
const int repeat = parser.intval('R', 1),
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);
for (uint8_t pin = start; pin <= end; pin++) {