Implement the initial gas mix
Initialize the initial gas mix correctly from the data in the dive header, instead of always using the first gas mix.
This commit is contained in:
parent
5116ee8f2d
commit
6867ffb143
@ -223,6 +223,8 @@ suunto_d9_parser_cache (suunto_d9_parser_t *parser)
|
||||
} else {
|
||||
parser->gasmix = data[0x28];
|
||||
}
|
||||
} else if (parser->model == DX) {
|
||||
parser->gasmix = data[0x31] & 0x7F;
|
||||
}
|
||||
}
|
||||
parser->config = config;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user