|
|
|
@ -296,6 +296,19 @@ void ToneAlarm_PX4::update()
@@ -296,6 +296,19 @@ void ToneAlarm_PX4::update()
|
|
|
|
|
stop_cont_tone(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (AP_Notify::events.tune_started) { |
|
|
|
|
play_tone(AP_NOTIFY_PX4_TONE_LOUD_NEU_FEEDBACK); |
|
|
|
|
AP_Notify::events.tune_started = 0;
|
|
|
|
|
} |
|
|
|
|
if (AP_Notify::events.tune_next) { |
|
|
|
|
play_tone(AP_NOTIFY_PX4_TONE_LOUD_POS_FEEDBACK); |
|
|
|
|
AP_Notify::events.tune_next = 0;
|
|
|
|
|
} |
|
|
|
|
if (AP_Notify::events.tune_save) { |
|
|
|
|
play_tone(AP_NOTIFY_PX4_TONE_QUIET_READY_OR_FINISHED); |
|
|
|
|
AP_Notify::events.tune_save = 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endif // CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
|
|
|
|