mavlink: rename field for RC input mode

This commit is contained in:
Lorenz Meier 2015-05-25 16:34:57 +02:00
parent 6253f6154f
commit c6fe4fd35a
1 changed files with 1 additions and 1 deletions

View File

@ -1499,7 +1499,7 @@ Mavlink::task_main(int argc, char *argv[])
/* switch HIL mode if required */
set_hil_enabled(status.hil_state == vehicle_status_s::HIL_STATE_ON);
set_manual_input_mode_generation(status.rc_input_off == vehicle_status_s::RC_IN_MODE_GENERATED);
set_manual_input_mode_generation(status.rc_input_mode == vehicle_status_s::RC_IN_MODE_GENERATED);
}
/* check for requested subscriptions */