diff options
author | Julian Oes <julian@oes.ch> | 2014-11-13 09:44:17 +1000 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-11-13 09:44:17 +1000 |
commit | 00cc2d55111fe6dcf03fc847aa6e65204e4a0a2c (patch) | |
tree | 97632779f0b6ead9c98b3855102ca93703933267 /src/modules/commander | |
parent | 826fd3f4cdf492be1e5b05f7da4493ff10118876 (diff) | |
download | px4-firmware-00cc2d55111fe6dcf03fc847aa6e65204e4a0a2c.tar.gz px4-firmware-00cc2d55111fe6dcf03fc847aa6e65204e4a0a2c.tar.bz2 px4-firmware-00cc2d55111fe6dcf03fc847aa6e65204e4a0a2c.zip |
commander: added navstate RCRECOVER which was missing
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/commander.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 3307c4bfc..5c4ad26f4 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -2225,9 +2225,11 @@ set_control_mode() control_mode.flag_control_termination_enabled = false; break; + case NAVIGATION_STATE_AUTO_MISSION: case NAVIGATION_STATE_AUTO_LOITER: case NAVIGATION_STATE_AUTO_RTL: + case NAVIGATION_STATE_AUTO_RCRECOVER: case NAVIGATION_STATE_AUTO_RTGS: case NAVIGATION_STATE_AUTO_LANDENGFAIL: control_mode.flag_control_manual_enabled = false; |