The new D6i data format support 3 gas mixes.

This commit is contained in:
Jef Driesen 2016-03-10 20:11:47 +01:00 committed by Dirk Hohndel
parent 784844d8dd
commit cc12560b29

View File

@ -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;