More coverity fixes
This commit is contained in:
parent
88b494678f
commit
cfb98ef682
3 changed files with 4 additions and 1 deletions
|
|
@ -2468,7 +2468,7 @@ void process_commands()
|
|||
|
||||
if(pin_state >= -1 && pin_state <= 1){
|
||||
|
||||
for(int8_t i = 0; i < (int8_t)sizeof(sensitive_pins); i++)
|
||||
for(int8_t i = 0; i < (int8_t)(sizeof(sensitive_pins)/sizeof(int)); i++)
|
||||
{
|
||||
if (sensitive_pins[i] == pin_number)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue