forked from Archive/PX4-Autopilot
IO does not arm in HIL mode
This commit is contained in:
parent
dc72d467d4
commit
4298f68fcd
|
@ -500,7 +500,8 @@ PX4IO::io_send()
|
|||
|
||||
// XXX relays
|
||||
|
||||
cmd.arm_ok = _armed.armed;
|
||||
/* armed and not locked down */
|
||||
cmd.arm_ok = (_armed.armed && !_armed.lockdown);
|
||||
|
||||
ret = hx_stream_send(_io_stream, &cmd, sizeof(cmd));
|
||||
if (ret)
|
||||
|
|
Loading…
Reference in New Issue