mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Notify: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL
This commit is contained in:
parent
efd0937568
commit
11def9b958
@ -138,8 +138,8 @@ AP_Notify *AP_Notify::_singleton;
|
|||||||
#define HAL_BUZZER_PIN -1
|
#define HAL_BUZZER_PIN -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_BUZZER_ON
|
#ifndef DEFAULT_BUZZ_ON_LVL
|
||||||
#define HAL_BUZZER_ON 1
|
#define DEFAULT_BUZZ_ON_LVL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// table of user settable parameters
|
// table of user settable parameters
|
||||||
@ -203,7 +203,7 @@ const AP_Param::GroupInfo AP_Notify::var_info[] = {
|
|||||||
// @Description: Specifies pin level that indicates buzzer should play
|
// @Description: Specifies pin level that indicates buzzer should play
|
||||||
// @Values: 0:LowIsOn,1:HighIsOn
|
// @Values: 0:LowIsOn,1:HighIsOn
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("BUZZ_ON_LVL", 7, AP_Notify, _buzzer_level, HAL_BUZZER_ON),
|
AP_GROUPINFO("BUZZ_ON_LVL", 7, AP_Notify, _buzzer_level, DEFAULT_BUZZ_ON_LVL),
|
||||||
|
|
||||||
// @Param: BUZZ_VOLUME
|
// @Param: BUZZ_VOLUME
|
||||||
// @DisplayName: Buzzer volume
|
// @DisplayName: Buzzer volume
|
||||||
|
Loading…
Reference in New Issue
Block a user