From 11bfb1ceee312549f297b58e020c0641cf7ddee8 Mon Sep 17 00:00:00 2001 From: muramura Date: Sun, 19 May 2024 23:27:33 +0900 Subject: [PATCH] AP_Notify: Set the value that matches the type of the variable --- libraries/AP_Notify/AP_BoardLED.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Notify/AP_BoardLED.cpp b/libraries/AP_Notify/AP_BoardLED.cpp index 8e137c43e077be..5a367dfe1c92f6 100644 --- a/libraries/AP_Notify/AP_BoardLED.cpp +++ b/libraries/AP_Notify/AP_BoardLED.cpp @@ -85,7 +85,7 @@ void AP_BoardLED::update(void) break; default: - save_trim_counter = -1; + save_trim_counter = 255u; break; } return; @@ -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{ @@ -135,7 +135,7 @@ void AP_BoardLED::update(void) break; default: - arm_counter = -1; + arm_counter = 255u; break; } }