dataman: account for new geofence & rally point structs

This commit is contained in:
Beat Küng
2017-07-14 13:16:05 +02:00
committed by Lorenz Meier
parent b8fb8c610e
commit b9cddfb75b
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -228,8 +228,8 @@ static const unsigned g_per_item_max_index[DM_KEY_NUM_KEYS] = {
/* Table of the len of each item type */
static const unsigned g_per_item_size[DM_KEY_NUM_KEYS] = {
sizeof(struct home_position_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct fence_vertex_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct mission_save_point_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct mission_fence_point_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct mission_item_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct mission_item_s) + DM_SECTOR_HDR_SIZE,
sizeof(struct mission_item_s) + DM_SECTOR_HDR_SIZE,