Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7
am: 8de5b31ff7
Change-Id: I0b7798a57a15830208b64587687a8c89608ca831
This commit is contained in:
commit
cde6e952a4
1 changed files with 10 additions and 0 deletions
|
@ -437,6 +437,16 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||||
},
|
},
|
||||||
.initialValue = {.floatValues = {200.0f}}}, // units in kPa
|
.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 =
|
{.config =
|
||||||
{
|
{
|
||||||
.prop = toInt(VehicleProperty::CURRENT_GEAR),
|
.prop = toInt(VehicleProperty::CURRENT_GEAR),
|
||||||
|
|
Loading…
Reference in a new issue