From cc12560b299e45fed2ae5293c948a3c3732c08db Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 10 Mar 2016 20:11:47 +0100 Subject: [PATCH] The new D6i data format support 3 gas mixes. --- src/suunto_d9_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/suunto_d9_parser.c b/src/suunto_d9_parser.c index 7ea09e1..eeb1783 100644 --- a/src/suunto_d9_parser.c +++ b/src/suunto_d9_parser.c @@ -150,7 +150,7 @@ suunto_d9_parser_cache (suunto_d9_parser_t *parser) gasmix_offset = 0x67; else gasmix_offset = 0x5F; - if (id == ID_D6I_V1_MIX3) + if (id == ID_D6I_V1_MIX3 || id == ID_D6I_V2) gasmix_count = 3; else gasmix_count = 2;