diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-02-02 22:06:40 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-02-02 22:06:40 +0100 |
commit | 8de35025b5b28a0f40b5c17ca9baa5acefdc20ca (patch) | |
tree | 0a228610640fd217062b6e6339801e23ea24cdf4 /src/modules/navigator/navigator_main.cpp | |
parent | 3d21a73ddf18b89552aa9bd65965ff6b311487b8 (diff) | |
download | px4-firmware-8de35025b5b28a0f40b5c17ca9baa5acefdc20ca.tar.gz px4-firmware-8de35025b5b28a0f40b5c17ca9baa5acefdc20ca.tar.bz2 px4-firmware-8de35025b5b28a0f40b5c17ca9baa5acefdc20ca.zip |
navigator: avoid climbing up for LOITER after RTL
Diffstat (limited to 'src/modules/navigator/navigator_main.cpp')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index e0d5df5f7..5139ae6cd 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -1575,6 +1575,7 @@ Navigator::on_mission_item_reached() dispatch(EVENT_LAND_REQUESTED); } else { + _reset_loiter_pos = false; dispatch(EVENT_LOITER_REQUESTED); } |