summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-24 10:45:23 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-24 08:47:53 +0000
commit479c3ebd2eb907d5d7f8f36ba0db8a9223d7fa9a (patch)
tree6f41ec736e8834361949a8e0b9f25534c8a64339 /binding
parent911d69334aa96dc34fdc12c01e1d1a8b826b66e8 (diff)
Fix reverse fan speed issue in demodab_3.99.1dab/3.99.13.99.1
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: Ie6300e41b24962c072170ab4606252fcdce4b073 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'binding')
-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()