Browse Source

Corrected bug in px4io driver that lead to hang of FMU-IO communication

sbg
Anton Babushkin 12 years ago
parent
commit
40c56ab61e
  1. 2
      src/drivers/px4io/px4io.cpp

2
src/drivers/px4io/px4io.cpp

@ -1008,8 +1008,6 @@ PX4IO::io_handle_status(uint16_t status) @@ -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;

Loading…
Cancel
Save