mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Notify: play vehicle lost tone
This commit is contained in:
parent
c1dd3cb921
commit
3bae8373e6
@ -185,6 +185,11 @@ void Buzzer::update()
|
||||
return;
|
||||
}
|
||||
|
||||
// if vehicle lost was enabled, starting beep
|
||||
if (AP_Notify::flags.vehicle_lost) {
|
||||
play_pattern(DOUBLE_BUZZ);
|
||||
}
|
||||
|
||||
// if battery failsafe constantly single buzz
|
||||
if (AP_Notify::flags.failsafe_battery) {
|
||||
play_pattern(SINGLE_BUZZ);
|
||||
|
Loading…
Reference in New Issue
Block a user