summaryrefslogtreecommitdiffstats
path: root/binding/hvac-demo-binding.c
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-24 10:42:53 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-24 08:48:20 +0000
commit31e930c7fbd9a32f200c654a383d29f973d94440 (patch)
tree2f3729e00a55df9cb784273239a343c73385c67f /binding/hvac-demo-binding.c
parent97a6c028a016aa8c345cbd5c6b15a90fcf6b7b5b (diff)
The reversal of the fanspeed was due to the wrong fan type. As the fan is replaced, undo it. Bug-AGL: SPEC-456 Change-Id: Ic7f0779f307c0664284981c052bd512a8a4a25b7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'binding/hvac-demo-binding.c')
-rw-r--r--binding/hvac-demo-binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/hvac-demo-binding.c b/binding/hvac-demo-binding.c
index 1b776cd..7f859a6 100644
--- a/binding/hvac-demo-binding.c
+++ b/binding/hvac-demo-binding.c
@@ -184,7 +184,7 @@ static uint8_t read_temp()
static uint8_t read_fanspeed()
{
- return hvac_values[3].value ^ 0xFF;
+ return hvac_values[3].value;
}
static int write_can()