mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_SITL: initialize rcout safety state
This allows BRD_SAFETY_DEFLT=1 to work correctly for SITL.
This commit is contained in:
parent
f2ec97e4c7
commit
64fc60ce32
@ -54,7 +54,7 @@ private:
|
|||||||
bool _corked;
|
bool _corked;
|
||||||
uint16_t _pending[SITL_NUM_CHANNELS];
|
uint16_t _pending[SITL_NUM_CHANNELS];
|
||||||
|
|
||||||
AP_HAL::Util::safety_state safety_state;
|
AP_HAL::Util::safety_state safety_state = AP_HAL::Util::safety_state::SAFETY_DISARMED;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user