Skip to content

Commit

Permalink
AP_Notify: disable the shutdown sound
Browse files Browse the repository at this point in the history
  • Loading branch information
jschall committed Oct 2, 2015
1 parent 5be7d00 commit 65cf9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Notify/ToneAlarm_PX4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ void ToneAlarm_PX4::update()

check_cont_tone();

if (AP_Notify::flags.powering_off) {
/*if (AP_Notify::flags.powering_off) {
if (!flags.powering_off) {
play_tone(AP_NOTIFY_PX4_TONE_QUIET_SHUTDOWN);
}
flags.powering_off = AP_Notify::flags.powering_off;
return;
}
}*/

if (AP_Notify::flags.compass_cal_running != flags.compass_cal_running) {
if(AP_Notify::flags.compass_cal_running) {
Expand Down

0 comments on commit 65cf9df

Please sign in to comment.