mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Change default units to be consistent in tm-qpr-dev/DefaultConfig.h
Bug: 259879204 Test: atest CarPropertyManagerTest Change-Id: I6060ffbce028dc95091e2b002b594a5b6a5eed48 Merged-In: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
This commit is contained in:
committed by
Shrikar Amirisetty
parent
afc2da8e8b
commit
f331f1202f
@@ -177,7 +177,7 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||
toInt(VehicleUnit::MILES_PER_HOUR),
|
||||
toInt(VehicleUnit::KILOMETERS_PER_HOUR)},
|
||||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleUnit::KILOMETERS_PER_HOUR)}}},
|
||||
.initialValue = {.int32Values = {toInt(VehicleUnit::MILES_PER_HOUR)}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
@@ -1025,7 +1025,7 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.configArray = {(int)VehicleUnit::LITER, (int)VehicleUnit::US_GALLON},
|
||||
},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::LITER}}},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::US_GALLON}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user