Fix 'M43 T' to use 'L' as last pin
- The documentation is correct. The code was wrong.
This commit is contained in:
parent
1769249876
commit
3cbc3ecdd7
|
@ -38,7 +38,7 @@ inline void toggle_pins() {
|
|||
const bool ignore_protection = parser.boolval('I');
|
||||
const int repeat = parser.intval('R', 1),
|
||||
start = PARSED_PIN_INDEX('S', 0),
|
||||
end = PARSED_PIN_INDEX('E', NUM_DIGITAL_PINS - 1),
|
||||
end = PARSED_PIN_INDEX('L', NUM_DIGITAL_PINS - 1),
|
||||
wait = parser.intval('W', 500);
|
||||
|
||||
for (uint8_t i = start; i <= end; i++) {
|
||||
|
|
Loading…
Reference in a new issue