AP_Notify: disable DShot buzzer by default

This commit is contained in:
Andrew Tridgell 2021-07-04 18:23:44 +10:00
parent 8482f9af27
commit 31a31963c9
1 changed files with 1 additions and 5 deletions

View File

@ -103,11 +103,7 @@ AP_Notify *AP_Notify::_singleton;
#endif
#ifndef BUILD_DEFAULT_BUZZER_TYPE
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && HAL_DSHOT_ALARM
#define BUILD_DEFAULT_BUZZER_TYPE (BUZZER_ENABLE_DEFAULT | Notify_Buzz_DShot)
#else
#define BUILD_DEFAULT_BUZZER_TYPE BUZZER_ENABLE_DEFAULT
#endif
#define BUILD_DEFAULT_BUZZER_TYPE BUZZER_ENABLE_DEFAULT
#endif
#ifndef NOTIFY_LED_BRIGHT_DEFAULT