AP_Notify: disable DShot buzzer by default

This commit is contained in:
Andrew Tridgell 2021-07-04 18:23:44 +10:00 committed by Randy Mackay
parent ff93999a94
commit 07acfd49b2
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