Force the dive mode to gauge

The Citizen Hyper Aqualand supports gauge mode only.
This commit is contained in:
Jef Driesen 2016-11-04 18:13:22 +01:00
parent 385c1850cb
commit 18995e83a8

View File

@ -127,6 +127,9 @@ citizen_aqualand_parser_get_field (dc_parser_t *abstract, dc_field_type_t type,
case DC_FIELD_GASMIX_COUNT:
*((unsigned int *) value) = 0;
break;
case DC_FIELD_DIVEMODE:
*((dc_divemode_t *) value) = DC_DIVEMODE_GAUGE;
break;
default:
return DC_STATUS_UNSUPPORTED;
}