mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-13 03:18:29 -04:00
AP_Notify: Change to the value of boolean.
This commit is contained in:
parent
fc3406d07f
commit
894b759149
@ -127,10 +127,10 @@ bool OreoLED_PX4::slow_counter()
|
||||
|
||||
update_counter++;
|
||||
if (update_counter < 5) {
|
||||
return 1;
|
||||
return true;
|
||||
} else {
|
||||
update_counter = 0;
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user