mirror of https://github.com/ArduPilot/ardupilot
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;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue