mirror of https://github.com/ArduPilot/ardupilot
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