forked from Archive/PX4-Autopilot
remove wrong comments
This commit is contained in:
parent
dec7c2b8d3
commit
70606d400b
|
@ -432,9 +432,6 @@ Navigator::task_main()
|
|||
_can_loiter_at_sp = false;
|
||||
break;
|
||||
case NAVIGATION_STATE_AUTO_MISSION:
|
||||
/* Some failsafe modes prohibit the fallback to mission
|
||||
* usually this is done after some time to make sure
|
||||
* that the full failsafe operation is performed */
|
||||
_navigation_mode = &_mission;
|
||||
break;
|
||||
case NAVIGATION_STATE_AUTO_LOITER:
|
||||
|
@ -450,7 +447,7 @@ Navigator::task_main()
|
|||
case NAVIGATION_STATE_AUTO_RTL:
|
||||
_navigation_mode = &_rtl;
|
||||
break;
|
||||
case NAVIGATION_STATE_AUTO_RTGS: //XXX OBC: differentiate between rc loss and dl loss here
|
||||
case NAVIGATION_STATE_AUTO_RTGS:
|
||||
/* Use complex data link loss mode only when enabled via param
|
||||
* otherwise use rtl */
|
||||
if (_param_datalinkloss_obc.get() != 0) {
|
||||
|
|
Loading…
Reference in New Issue