Added RC_MAP_FAILSAFE parameter for customizing failsafe channel. Default to THROTTLE

This commit is contained in:
TickTock-
2014-04-22 20:53:07 -07:00
parent 7e621070ca
commit 831a7c4a83
2 changed files with 39 additions and 14 deletions
+1 -1
View File
@@ -1230,7 +1230,7 @@ int commander_thread_main(int argc, char *argv[])
status.set_nav_state_timestamp = hrt_absolute_time();
} else {
/* MISSION switch */
/* LOITER switch */
if (sp_man.loiter_switch == SWITCH_POS_ON) {
/* stick is in LOITER position */
status.set_nav_state = NAV_STATE_LOITER;