Skip to content

Commit

Permalink
AP_Notify: Set the value that matches the type of the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed May 19, 2024
1 parent 3e868be commit 11bfb1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/AP_Notify/AP_BoardLED.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void AP_BoardLED::update(void)
break;

default:
save_trim_counter = -1;
save_trim_counter = 255u;
break;
}
return;
Expand Down Expand Up @@ -115,7 +115,7 @@ void AP_BoardLED::update(void)
break;
default:
// reset counter to restart the sequence
arm_counter = -1;
arm_counter = 255u;
break;
}
}else{
Expand All @@ -135,7 +135,7 @@ void AP_BoardLED::update(void)
break;

default:
arm_counter = -1;
arm_counter = 255u;
break;
}
}
Expand Down

0 comments on commit 11bfb1c

Please sign in to comment.