Skip to content

Commit

Permalink
AP_Notify: move enabling of AP_NOTIFY_TONEALARM_ENABLED out of AP_Not…
Browse files Browse the repository at this point in the history
…ify_config.h

this is looking at chibios-specific defines, which is bad
  • Loading branch information
peterbarker committed Jan 31, 2025
1 parent 57877dd commit 3f42517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Notify/AP_Notify_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3f42517

Please sign in to comment.