From 47037286a24eb6db2ae9e08eda0a3396754a4124 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sun, 12 Jun 2016 15:17:28 +0200 Subject: [PATCH] Fix the sample rate for the Aqualung i450t. --- src/oceanic_atom2_parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/oceanic_atom2_parser.c b/src/oceanic_atom2_parser.c index 23745e3..d3b1c20 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -561,7 +561,8 @@ oceanic_atom2_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_ unsigned int samplerate = 1; if (parser->mode != FREEDIVE) { unsigned int idx = 0x17; - if (parser->model == A300CS || parser->model == VTX) + if (parser->model == A300CS || parser->model == VTX || + parser->model == I450T) idx = 0x1f; switch (data[idx] & 0x03) { case 0: