Browse Source

AP_Notify: don't do startup tone on AP_Periph devices

c415-sdk
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()
} }
#endif #endif
#ifndef HAL_BUILD_AP_PERIPH
play_tone(AP_NOTIFY_TONE_STARTUP); play_tone(AP_NOTIFY_TONE_STARTUP);
#endif
return true; return true;
} }

Loading…
Cancel
Save