vmount: Use MNT_DO_STAB parameter for defaults in InputMavlinkCmdMount as well.

This commit is contained in:
Matthew Edwards
2017-10-25 11:30:31 +02:00
committed by Beat Küng
parent fdf4eb0bd6
commit 335c319b2e
4 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -276,7 +276,7 @@ static int vmount_thread_main(int argc, char *argv[])
case 0:
// Automatic
thread_data.input_objs[0] = new InputMavlinkCmdMount();
thread_data.input_objs[0] = new InputMavlinkCmdMount(params.mnt_do_stab);
thread_data.input_objs[1] = new InputMavlinkROI();
// RC is on purpose last here so that if there are any mavlink
@@ -296,7 +296,7 @@ static int vmount_thread_main(int argc, char *argv[])
break;
case 3: //MAVLINK_DO_MOUNT
thread_data.input_objs[0] = new InputMavlinkCmdMount();
thread_data.input_objs[0] = new InputMavlinkCmdMount(params.mnt_do_stab);
break;
default: