Waypoints/Navigator: Use two different dataman storage places, keep old waypoints until all new ones are written

This commit is contained in:
Julian Oes
2013-12-25 11:23:58 +01:00
parent 5c33aeeb43
commit b10fa3d047
8 changed files with 64 additions and 13 deletions
+1
View File
@@ -97,6 +97,7 @@ struct mission_item_s
struct mission_s
{
int dataman_id; /**< default -1, there are two offboard storage places in the dataman: 0 or 1 */
unsigned count; /**< count of the missions stored in the datamanager */
int current_index; /**< default -1, start at the one changed latest */
};