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:
Nishtha Ahuja
2022-03-24 02:42:47 +00:00
parent b065a54afa
commit fccd300be6

View File

@@ -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),