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.
This commit is contained in:
Jef Driesen 2015-10-28 19:10:12 +01:00
parent 8ac9778c9e
commit ae70d1efba

View File

@ -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