mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
1e607ae98d
commit
1e5fe4f3fe
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue