From abab44a74c8835a30e69bc1ca7e878a52111875d Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sun, 20 Aug 2017 21:28:53 +0200 Subject: [PATCH] Implement the ndl/deco sample for the Aqualung i300 --- src/oceanic_atom2_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oceanic_atom2_parser.c b/src/oceanic_atom2_parser.c index 19abadb..e481a19 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -960,7 +960,7 @@ oceanic_atom2_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_ decostop = (data[offset + 5] & 0xF0) >> 4; decotime = array_uint16_le(data + offset + 4) & 0x03FF; have_deco = 1; - } else if (parser->model == I200) { + } else if (parser->model == I200 || parser->model == I300) { decostop = (data[offset + 7] & 0xF0) >> 4; decotime = array_uint16_le(data + offset + 6) & 0x0FFF; have_deco = 1;