summaryrefslogtreecommitdiffstats
path: root/core/datatrak.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/datatrak.c')
-rw-r--r--core/datatrak.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/datatrak.c b/core/datatrak.c
index b10ef55ad..01a16210a 100644
--- a/core/datatrak.c
+++ b/core/datatrak.c
@@ -177,6 +177,8 @@ static unsigned char *dt_dive_parser(unsigned char *runner, struct dive *dt_dive
char is_nitrox = 0, is_O2 = 0, is_SCR = 0;
device_data_t *devdata = calloc(1, sizeof(device_data_t));
+ devdata->sites = sites;
+ devdata->devices = devices;
/*
* Parse byte to byte till next dive entry