Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcf03f13 authored by Tyler Trephan's avatar Tyler Trephan
Browse files

DO NOT MERGE Added missing HVAC properties to DefaultConfig.h

Test: Built.
Bug: 237610879
Change-Id: I77f60bf6c3277527a556b924e7598778828bef4c
parent c9d82cd7
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -763,6 +763,12 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                         .int32Values = {0, 0, 0},
                 }},

        {.config = {.prop = toInt(VehicleProperty::HVAC_ACTUAL_FAN_SPEED_RPM),
                    .access = VehiclePropertyAccess::READ,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = HVAC_ALL}}},
         .initialValue = {.int32Values = {50}}},

        {.config = {.prop = toInt(VehicleProperty::HVAC_POWER_ON),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
@@ -911,6 +917,14 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                    }}},
         .initialValue = {.int32Values = {0}}},

        {.config = {.prop = toInt(VehicleProperty::HVAC_TEMPERATURE_CURRENT),
                    .access = VehiclePropertyAccess::READ,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = HVAC_LEFT},
                                    VehicleAreaConfig{.areaId = HVAC_RIGHT}}},
         .initialAreaValues = {{HVAC_LEFT, {.floatValues = {17.3f}}},
                               {HVAC_RIGHT, {.floatValues = {19.1f}}}}},

        {.config = {.prop = toInt(VehicleProperty::HVAC_TEMPERATURE_SET),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,