mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
vmount: always initialize
MNT_MODE_IN 0 now means to automatically check all inputs.
This commit is contained in:
parent
e3d1b7fab4
commit
ec36bdcd10
@ -201,7 +201,7 @@ static int vmount_thread_main(int argc, char *argv[])
|
||||
|
||||
while (!thread_should_exit) {
|
||||
|
||||
if (!thread_data.input_objs[0] && (params.mnt_mode_in != 0 || test_input)) { //need to initialize
|
||||
if (!thread_data.input_objs[0] || test_input) { //need to initialize
|
||||
|
||||
output_config.gimbal_normal_mode_value = params.mnt_ob_norm_mode;
|
||||
output_config.gimbal_retracted_mode_value = params.mnt_ob_lock_mode;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user