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:
shrikar
2022-12-22 17:06:49 +00:00
committed by Shrikar Amirisetty
parent afc2da8e8b
commit f331f1202f

View File

@@ -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 =
{