mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
DM5 import: support for larger sample size
Suunto has updated SampleBlob to use 30 byte blobs. This adds support for the increased size. Note that this only parses the same fields we have parsed before. (Currently I have no idea what the increased size is used for.) Note also that I do not currently have data with the new format so I only tested this still works with old data. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
67adf6473f
commit
076419d757
1 changed files with 5 additions and 0 deletions
|
@ -458,6 +458,11 @@ extern int dm5_dive(void *param, int columns, char **data, char **column)
|
|||
tempformat = 1;
|
||||
block_size = 26;
|
||||
break;
|
||||
case 5:
|
||||
// Temperature is stored in float
|
||||
tempformat = 1;
|
||||
block_size = 30;
|
||||
break;
|
||||
default:
|
||||
block_size = 16;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue