From 6f40c80d651d692392488a2b79e5e2fcce2dbcb5 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 31 Jan 2025 15:47:34 +1100 Subject: [PATCH] AP_Notify: move enabling of AP_NOTIFY_TONEALARM_ENABLED out of AP_Notify_config.h this is looking at chibios-specific defines, which is bad --- libraries/AP_Notify/AP_Notify_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Notify/AP_Notify_config.h b/libraries/AP_Notify/AP_Notify_config.h index 0bc83f1905..4ac9425def 100644 --- a/libraries/AP_Notify/AP_Notify_config.h +++ b/libraries/AP_Notify/AP_Notify_config.h @@ -129,5 +129,5 @@ #endif #ifndef AP_NOTIFY_TONEALARM_ENABLED -#define AP_NOTIFY_TONEALARM_ENABLED ((defined(HAL_PWM_ALARM) || HAL_DSHOT_ALARM_ENABLED)) +#define AP_NOTIFY_TONEALARM_ENABLED 0 #endif