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
This commit is contained in:
Peter Barker 2025-01-31 15:47:34 +11:00 committed by Andrew Tridgell
parent 8a9a1826e1
commit 6f40c80d65

View File

@ -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