Browse Source

AP_Notify: don't do startup tone on AP_Periph devices

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
8728148db6
  1. 2
      libraries/AP_Notify/ToneAlarm.cpp

2
libraries/AP_Notify/ToneAlarm.cpp

@ -127,7 +127,9 @@ bool AP_ToneAlarm::init() @@ -127,7 +127,9 @@ bool AP_ToneAlarm::init()
}
#endif
#ifndef HAL_BUILD_AP_PERIPH
play_tone(AP_NOTIFY_TONE_STARTUP);
#endif
return true;
}

Loading…
Cancel
Save