A wrong parameter name in commander was responsible for manual override always ok

This commit is contained in:
Julian Oes 2012-12-31 12:31:31 -08:00
parent 7972a56076
commit 8d1b1354e1
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");
}
/*