AP_HAL_SITL: initialize rcout safety state

This allows BRD_SAFETY_DEFLT=1 to work correctly for SITL.
This commit is contained in:
Bob Long 2024-07-22 22:34:10 +10:00 committed by Peter Barker
parent f2ec97e4c7
commit 64fc60ce32
1 changed files with 1 additions and 1 deletions

View File

@ -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