mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: disable DShot buzzer by default
This commit is contained in:
parent
ff93999a94
commit
07acfd49b2
|
@ -103,11 +103,7 @@ AP_Notify *AP_Notify::_singleton;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUILD_DEFAULT_BUZZER_TYPE
|
#ifndef BUILD_DEFAULT_BUZZER_TYPE
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && HAL_DSHOT_ALARM
|
#define BUILD_DEFAULT_BUZZER_TYPE BUZZER_ENABLE_DEFAULT
|
||||||
#define BUILD_DEFAULT_BUZZER_TYPE (BUZZER_ENABLE_DEFAULT | Notify_Buzz_DShot)
|
|
||||||
#else
|
|
||||||
#define BUILD_DEFAULT_BUZZER_TYPE BUZZER_ENABLE_DEFAULT
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOTIFY_LED_BRIGHT_DEFAULT
|
#ifndef NOTIFY_LED_BRIGHT_DEFAULT
|
||||||
|
|
Loading…
Reference in New Issue