Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +1 −7 Original line number Diff line number Diff line Loading @@ -176,13 +176,7 @@ const VehiclePropConfig kVehicleProperties[] = { { .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = { VehicleAreaConfig { .minFloatValue = 0, .maxFloatValue = 1.0 } } .changeMode = VehiclePropertyChangeMode::STATIC, }, { Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ void DefaultVehicleHal::setDefaultValue(VehiclePropValue* prop) { prop->value.int32Values[0] = toInt(VehicleGear::GEAR_PARK); break; case toInt(VehicleProperty::INFO_FUEL_CAPACITY): prop->value.floatValues[0] = 0.75f; prop->value.floatValues[0] = 123000.0f; // In milliliters break; case toInt(VehicleProperty::ENGINE_OIL_TEMP): prop->value.floatValues[0] = 101; Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +1 −7 Original line number Diff line number Diff line Loading @@ -176,13 +176,7 @@ const VehiclePropConfig kVehicleProperties[] = { { .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = { VehicleAreaConfig { .minFloatValue = 0, .maxFloatValue = 1.0 } } .changeMode = VehiclePropertyChangeMode::STATIC, }, { Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ void DefaultVehicleHal::setDefaultValue(VehiclePropValue* prop) { prop->value.int32Values[0] = toInt(VehicleGear::GEAR_PARK); break; case toInt(VehicleProperty::INFO_FUEL_CAPACITY): prop->value.floatValues[0] = 0.75f; prop->value.floatValues[0] = 123000.0f; // In milliliters break; case toInt(VehicleProperty::ENGINE_OIL_TEMP): prop->value.floatValues[0] = 101; Loading