From b7c358260422db9c8e44658e0f7e526916777eb7 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Mon, 6 Jul 2015 15:00:22 +0200 Subject: [PATCH] Fix the temperature for the Aeris Manta. The Aeris Manta does not store the temperature as a delta value, but as an absolute value (at offset 6). --- 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 8403b20..b13a9f8 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -640,7 +640,7 @@ oceanic_atom2_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_ // Temperature (°F) if (have_temperature) { if (parser->model == GEO || parser->model == ATOM1 || - parser->model == ELEMENT2) { + parser->model == ELEMENT2 || parser->model == MANTA) { temperature = data[offset + 6]; } else if (parser->model == GEO20 || parser->model == VEO20 || parser->model == VEO30 || parser->model == OC1A ||