Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mavlink-mission: Initialize the safepoint and mission counter from th…
…e dataman state. If at the last powercycle one mission was uploaded, the counter in dataman was 1. On the next powercycle the mavlink mission counter was reset to zero and on first mission upload updated to 1 again. Other modules check, if the mission was changed based on the counter, like the mission.cpp loaded the mission counter from the dataman. On a new mission, the comparison of the counters failed, because both were the same value even if the mission was completely different.
- Loading branch information