aboutsummaryrefslogtreecommitdiff
path: root/src/modules/navigator
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-09-30 11:11:30 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-09-30 11:11:30 +0200
commit70606d400bdceaa86331670938c1e0ae988ed97c (patch)
treea2e901bc0d2369701371301d55153a09a5bcd7aa /src/modules/navigator
parentdec7c2b8d32f78687cdcc71a4347bed59b0cefa4 (diff)
downloadpx4-firmware-70606d400bdceaa86331670938c1e0ae988ed97c.tar.gz
px4-firmware-70606d400bdceaa86331670938c1e0ae988ed97c.tar.bz2
px4-firmware-70606d400bdceaa86331670938c1e0ae988ed97c.zip
remove wrong comments
Diffstat (limited to 'src/modules/navigator')
-rw-r--r--src/modules/navigator/navigator_main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp
index fad46998e..bf5e36d39 100644
--- a/src/modules/navigator/navigator_main.cpp
+++ b/src/modules/navigator/navigator_main.cpp
@@ -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) {