mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 14:00:35 +08:00
Corrected bug in px4io driver that lead to hang of FMU-IO communication
This commit is contained in:
@@ -1008,8 +1008,6 @@ PX4IO::io_handle_status(uint16_t status)
|
||||
struct safety_s safety;
|
||||
safety.timestamp = hrt_absolute_time();
|
||||
|
||||
orb_copy(ORB_ID(safety), _to_safety, &safety);
|
||||
|
||||
if (status & PX4IO_P_STATUS_FLAGS_SAFETY_OFF) {
|
||||
safety.safety_off = true;
|
||||
safety.safety_switch_available = true;
|
||||
|
||||
Reference in New Issue
Block a user