summaryrefslogtreecommitdiffstats
path: root/core/import-suunto.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-04-07 07:45:30 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-07 11:33:09 -0700
commite04dadc37874d73e9691d3616d4daefb87437714 (patch)
tree14e4177d83ff1440327a83c4e3b35ee02e3d841f /core/import-suunto.c
parent06a2f36a6295598bdd6d37dc97786cb587df0b8f (diff)
downloadsubsurface-e04dadc37874d73e9691d3616d4daefb87437714.tar.gz
Explicitly mark DM4 conversion
Same as default branch, but as 0x01 appears to be converted from DM4 to DM5, let's just be explicit about it. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/import-suunto.c')
-rw-r--r--core/import-suunto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/import-suunto.c b/core/import-suunto.c
index e2c9aad05..f7a6cf8e4 100644
--- a/core/import-suunto.c
+++ b/core/import-suunto.c
@@ -440,6 +440,10 @@ extern int dm5_dive(void *param, int columns, char **data, char **column)
if (sampleBlob) {
switch (sampleBlob[0]) {
+ case 1:
+ // Log is converted from DM4 to DM5
+ block_size = 16;
+ break;
case 2:
block_size = 19;
break;