From 1e5fe4f3fe24adf483425654ac9eeb1327747a96 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Fri, 27 May 2016 22:50:57 +0300 Subject: Use serial as device ID on Shearwater import Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- core/parse-xml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/parse-xml.c b/core/parse-xml.c index 746d4ce16..5eccbb9a7 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -2724,7 +2724,8 @@ extern int shearwater_dive(void *param, int columns, char **data, char **column) if (data[10]) utf8_string(data[10], &cur_settings.dc.model); - cur_settings.dc.deviceid = 0xffffffff; + cur_settings.dc.deviceid = atoi(data[9]); + dc_settings_end(); settings_end(); -- cgit v1.2.3-70-g09d2