From f5d636d12eb65d4f743a313283bc12c165004fc6 Mon Sep 17 00:00:00 2001 From: Janice McLaughlin Date: Thu, 4 Oct 2018 10:06:54 -0700 Subject: [PATCH] Fix the Pro Plus X gas mixes --- src/oceanic_atom2_parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/oceanic_atom2_parser.c b/src/oceanic_atom2_parser.c index 6c699f2..bdf7174 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -451,6 +451,9 @@ oceanic_atom2_parser_cache (oceanic_atom2_parser_t *parser) } else if (parser->model == ZEN) { o2_offset = header + 4; ngasmixes = 2; + } else if (parser->model == PROPLUSX) { + o2_offset = 0x24; + ngasmixes = 4; } else { o2_offset = header + 4; ngasmixes = 3;