mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BoardConfig: fixed BRD_SAFETY_MASK
this was being omitted on most boards since we changed to SERVOn_FUNCTION=-1 method for GPIO
This commit is contained in:
parent
e7a5bcf6aa
commit
902b60c88e
@ -142,11 +142,7 @@ public:
|
||||
|
||||
// return the value of BRD_SAFETY_MASK
|
||||
uint16_t get_safety_mask(void) const {
|
||||
#if AP_FEATURE_BOARD_DETECT || defined(AP_FEATURE_BRD_PWM_COUNT_PARAM)
|
||||
return uint32_t(state.ignore_safety_channels.get());
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if HAL_HAVE_BOARD_VOLTAGE
|
||||
|
Loading…
Reference in New Issue
Block a user