Updated HVAC_SIDE_MIRROR_HEAT with a more realistic config

Test: atest CarPropertyManagerTest
Bug: 237610879
Change-Id: If5ca59df192f2329c48757ec7fe0cf8530a1164b
This commit is contained in:
Tyler Trephan
2022-07-27 01:04:57 +00:00
parent e37a6dda22
commit 7073d3faf7

View File

@@ -720,17 +720,12 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
.areaConfigs = {VehicleAreaConfig{
.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT),
.minInt32Value = 0,
.maxInt32Value = 2,
},
VehicleAreaConfig{
.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT),
.minInt32Value = 0,
.maxInt32Value = 2,
}}},
.initialAreaValues = {{toInt(VehicleAreaMirror::DRIVER_LEFT), {.int32Values = {2}}},
{toInt(VehicleAreaMirror::DRIVER_RIGHT), {.int32Values = {1}}}}},
.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT) |
toInt(VehicleAreaMirror::DRIVER_RIGHT),
.minInt32Value = 0,
.maxInt32Value = 2,
}}},
.initialValue = {.int32Values = {0}}},
{.config = {.prop = toInt(VehicleProperty::HVAC_TEMPERATURE_SET),
.access = VehiclePropertyAccess::READ_WRITE,