mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-04 01:34:07 +00:00
Added FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME
Test: atest CarPropertyManagerTest Bug: 238367528 Change-Id: If9f4fab38ce47d6e2d463cca3e5eeb909866bf89
This commit is contained in:
@@ -478,6 +478,15 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||
},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::LITER}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(
|
||||
VehicleProperty::FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
},
|
||||
.initialValue = {.int32Values = {1}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::HW_KEY_INPUT),
|
||||
|
||||
Reference in New Issue
Block a user