summaryrefslogtreecommitdiffstats
path: root/hvac/hvac.cpp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-11-22 14:11:05 -0500
committerScott Murray <scott.murray@konsulko.com>2023-11-22 14:11:30 -0500
commit4694b211569e15dc8aa4e75b6fb70e75946e766d (patch)
tree542e2970de72fa2b6388b61ee0991fa1012d5b4a /hvac/hvac.cpp
parente6e998428529bb788e2412e84757ad9a0b71fb32 (diff)
VSS 4.0 updates
Change Left/Right to Driver/Passenger in HVAC VSS signal names to match VSS 4.0. Bug-AGL: SPEC-4970 Change-Id: I6c4bf01fef9432c4c8c7f60e6ba787ce2be32d6a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'hvac/hvac.cpp')
-rw-r--r--hvac/hvac.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/hvac/hvac.cpp b/hvac/hvac.cpp
index 63ba5cf..7ad1eb1 100644
--- a/hvac/hvac.cpp
+++ b/hvac/hvac.cpp
@@ -46,7 +46,7 @@ void HVAC::set_fanspeed(int speed)
// Scale incoming 0-255 speed to 0-100 to match VSS signal
double value = (speed % 256) * 100.0 / 255.0;
- m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Left.FanSpeed", (unsigned int) (value + 0.5), true);
+ m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Driver.FanSpeed", (unsigned int) (value + 0.5), true);
emit fanSpeedChanged(speed);
}
@@ -61,7 +61,7 @@ void HVAC::set_temp_left_zone(int temp)
value = 50;
else if (value < -50)
value = -50;
- m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Left.Temperature", value, true);
+ m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Driver.Temperature", value, true);
emit leftTemperatureChanged(temp);
}
@@ -76,7 +76,7 @@ void HVAC::set_temp_right_zone(int temp)
value = 50;
else if (value < -50)
value = -50;
- m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Right.Temperature", value, true);
+ m_vs->set("Vehicle.Cabin.HVAC.Station.Row1.Passenger.Temperature", value, true);
emit rightTemperatureChanged(temp);
}