diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-03 19:56:37 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-03 19:56:37 +0400 |
commit | cb8095c5ac932bbf49137491d92b4cf064021058 (patch) | |
tree | 304c57eee0d2cdbc3fed3b436bdefd9fc1ead7fb /src/modules | |
parent | 941aca2829e8d95eb5638ba134260b89e2ef22a7 (diff) | |
download | px4-firmware-cb8095c5ac932bbf49137491d92b4cf064021058.tar.gz px4-firmware-cb8095c5ac932bbf49137491d92b4cf064021058.tar.bz2 px4-firmware-cb8095c5ac932bbf49137491d92b4cf064021058.zip |
navigator: fixed wrong merge
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index ff1932c66..c45cafc1b 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -1112,6 +1112,8 @@ Navigator::set_mission_item() ret = _mission.get_current_mission_item(&_mission_item, &onboard, &index); if (ret == OK) { + _mission.report_current_offboard_mission_item(); + _mission_item_valid = true; position_setpoint_from_mission_item(&_pos_sp_triplet.current, &_mission_item); |