The new D6i data format support 3 gas mixes.

This commit is contained in:
Jef Driesen 2016-03-10 20:11:47 +01:00
parent 2e64d47dff
commit 63dcee9eaa

View File

@ -148,7 +148,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;