diff options
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/Sprinter.pde | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde index 9ea445b..427f4f6 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -1444,7 +1444,7 @@ FORCE_INLINE void process_commands() if (code_seen('P') && pin_status >= 0 && pin_status <= 255) { int pin_number = code_value(); - for(int i = 0; i < sizeof(sensitive_pins); i++) + for(int i = 0; i < sizeof(sensitive_pins) / sizeof(int); i++) { if (sensitive_pins[i] == pin_number) { |