mirror of https://github.com/ArduPilot/ardupilot
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
aaf7e38fdf
commit
fe88515889
|
@ -141,11 +141,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