navigation.h handle mission item structure padding explicitly

- also applies to mission_stats_entry_s, mission_fence_point_s,
   mission_save_point_s
 - -Wpadded warning is disabled by default because the snapdragon
   toolchain doesn't respect the pragma pop
This commit is contained in:
Daniel Agar
2019-02-13 08:08:01 +01:00
committed by Beat Küng
parent beff3ae66a
commit 8185334994
2 changed files with 47 additions and 21 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ struct dataman_compat_s {
};
/* increment this define whenever a binary incompatible change is performed */
#define DM_COMPAT_VERSION 1ULL
#define DM_COMPAT_VERSION 2ULL
#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) + \