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:
parent
8ac9778c9e
commit
ae70d1efba
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user