forked from Archive/PX4-Autopilot
A wrong parameter name in commander was responsible for manual override always ok
This commit is contained in:
parent
7972a56076
commit
8d1b1354e1
|
@ -1214,7 +1214,7 @@ int commander_thread_main(int argc, char *argv[])
|
|||
failsafe_lowlevel_timeout_ms = 0;
|
||||
param_get(param_find("SYS_FAILSAVE_LL"), &failsafe_lowlevel_timeout_ms);
|
||||
|
||||
param_t _param_sys_type = param_find("VEHICLE_TYPE");
|
||||
param_t _param_sys_type = param_find("MAV_TYPE");
|
||||
|
||||
/* welcome user */
|
||||
printf("[cmd] I am in command now!\n");
|
||||
|
|
|
@ -89,7 +89,7 @@ mixer_tick(void)
|
|||
/* too many frames without FMU input, time to go to failsafe */
|
||||
system_state.mixer_manual_override = true;
|
||||
system_state.mixer_fmu_available = false;
|
||||
lib_lowprintf("\nRX timeout\n");
|
||||
lib_lowprintf("RX timeout\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue