Merge pull request #8487 from Bob-the-Kuhn/M43-compatibility-1.1.x

[1.1.x] M43 end pin correction/compatibility
master
Bob-the-Kuhn 7 years ago committed by GitHub
commit 12b018e619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save