mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
navigator: reset reached flag, not reached seq
It doesn't make sense to reset the reached sequence, especially not to false since it's an int.
This commit is contained in:
@@ -933,7 +933,7 @@ Navigator::publish_mission_result()
|
||||
//_mission_result.seq_current = 0;
|
||||
|
||||
/* reset some of the flags */
|
||||
_mission_result.seq_reached = false;
|
||||
_mission_result.reached = false;
|
||||
_mission_result.item_do_jump_changed = false;
|
||||
_mission_result.item_changed_index = 0;
|
||||
_mission_result.item_do_jump_remaining = 0;
|
||||
|
||||
Reference in New Issue
Block a user