mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:07:36 +08:00
dataman: update compat version
A version update is needed since the dataman is showing errors if data doesn't exist or if it is wrongly stored. This will force default data to be initialized.
This commit is contained in:
@@ -114,7 +114,7 @@ struct dataman_compat_s {
|
||||
};
|
||||
|
||||
/* increment this define whenever a binary incompatible change is performed */
|
||||
#define DM_COMPAT_VERSION 2ULL
|
||||
#define DM_COMPAT_VERSION 3ULL
|
||||
|
||||
#define DM_COMPAT_KEY ((DM_COMPAT_VERSION << 32) + (sizeof(struct mission_item_s) << 24) + \
|
||||
(sizeof(struct mission_s) << 16) + (sizeof(struct mission_stats_entry_s) << 12) + \
|
||||
|
||||
Reference in New Issue
Block a user