Fix the number of gas mixes

The Tusa Zen supports a maximum of only 2 gas mixes.
This commit is contained in:
Jef Driesen 2017-02-10 19:42:02 +01:00
parent 3f9133def9
commit e96611cccd

View File

@ -437,6 +437,9 @@ oceanic_atom2_parser_cache (oceanic_atom2_parser_t *parser)
} else if (parser->model == I450T) {
o2_offset = 0x30;
ngasmixes = 3;
} else if (parser->model == ZEN) {
o2_offset = header + 4;
ngasmixes = 2;
} else {
o2_offset = header + 4;
ngasmixes = 3;