From e04dadc37874d73e9691d3616d4daefb87437714 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 7 Apr 2018 07:45:30 +0300 Subject: 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 --- core/import-suunto.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/import-suunto.c') 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; -- cgit v1.2.3-70-g09d2