mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 13:49:45 +00:00
Add value for FUEL_VOLUME_DISPLAY_UNITS in default config.
Fix: 221916124 Test: Tested manually in KitchenSink app Change-Id: I8c0bf768210037f655d76848d8b4aadf047838f3
This commit is contained in:
@@ -386,6 +386,15 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||
},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::FUEL_VOLUME_DISPLAY_UNITS),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.configArray = {(int)VehicleUnit::LITER, (int)VehicleUnit::US_GALLON},
|
||||
},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::LITER}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::HW_KEY_INPUT),
|
||||
|
||||
Reference in New Issue
Block a user