navigator: defer saving mission until disarmed

Avoids unnecessary dataman accesses
This commit is contained in:
Beat Küng
2023-07-24 13:10:31 +02:00
parent 16a144c00f
commit ebd64bfab6
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -348,6 +348,7 @@ private:
bool _inited{false};
bool _home_inited{false};
bool _need_mission_reset{false};
bool _need_mission_save{false};
bool _mission_waypoints_changed{false};
bool _mission_changed{false}; /** < true if the mission changed since the mission mode was active */