Use serial as device ID on Shearwater import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2016-05-27 22:50:57 +03:00 committed by Dirk Hohndel
parent 1e607ae98d
commit 1e5fe4f3fe

View file

@ -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();