Added flag to disable RC evaluation onboard of IO (raw values still forwarded)

This commit is contained in:
Lorenz Meier
2013-08-21 11:17:29 +02:00
parent 2a58929ffd
commit 5fbee23945
4 changed files with 36 additions and 11 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ mixer_tick(void)
if ( (r_status_flags & PX4IO_P_STATUS_FLAGS_OVERRIDE) &&
(r_status_flags & PX4IO_P_STATUS_FLAGS_RC_OK) &&
(r_status_flags & PX4IO_P_STATUS_FLAGS_MIXER_OK)) {
(r_status_flags & PX4IO_P_STATUS_FLAGS_MIXER_OK) &&
!(r_setup_arming & PX4IO_P_SETUP_ARMING_RC_HANDLING_DISABLED)) {
/* if allowed, mix from RC inputs directly */
source = MIX_OVERRIDE;