Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7

Change-Id: I1bcf5205db44c6585ecab3b479cdf1b6a86e7884
This commit is contained in:
Jordan Jozwiak
2020-04-23 19:32:56 +00:00
committed by Automerger Merge Worker

View File

@@ -437,6 +437,16 @@ const ConfigDeclaration kVehicleProperties[]{
},
.initialValue = {.floatValues = {200.0f}}}, // units in kPa
{.config =
{
.prop = toInt(VehicleProperty::TIRE_PRESSURE_DISPLAY_UNITS),
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
.configArray = {(int)VehicleUnit::KILOPASCAL, (int)VehicleUnit::PSI,
(int)VehicleUnit::BAR},
},
.initialValue = {.int32Values = {toInt(VehicleUnit::PSI)}}},
{.config =
{
.prop = toInt(VehicleProperty::CURRENT_GEAR),