From ae70d1efba1da8ac1fd75ec688ac98432978b2c6 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Wed, 28 Oct 2015 19:10:12 +0100 Subject: [PATCH] Fix the dive mode for the Galileo Trimix. Parsing the gas mixes has been implemented a while ago, so this check is no longer neccessary. --- src/uwatec_smart_parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/uwatec_smart_parser.c b/src/uwatec_smart_parser.c index 7a6a35f..66542b3 100644 --- a/src/uwatec_smart_parser.c +++ b/src/uwatec_smart_parser.c @@ -760,8 +760,6 @@ uwatec_smart_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsi *((double *) value) = (signed short) array_uint16_le (data + table->temp_surface) / 10.0; break; case DC_FIELD_DIVEMODE: - if (parser->trimix) - return DC_STATUS_UNSUPPORTED; if (parser->ngasmixes) *((dc_divemode_t *) value) = DC_DIVEMODE_OC; else