AP_Notify: enable/disable buzzer in PX4 based boards
This commit is contained in:
parent
c9862b1502
commit
c00cbcf076
@ -134,6 +134,11 @@ void ToneAlarm_PX4::update()
|
||||
return;
|
||||
}
|
||||
|
||||
// exit if buzzer is not enabled
|
||||
if (pNotify->buzzer_enabled() == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
check_cont_tone();
|
||||
|
||||
if (AP_Notify::flags.compass_cal_running != flags.compass_cal_running) {
|
||||
|
Loading…
Reference in New Issue
Block a user