summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2016-12-16 02:52:28 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2016-12-16 02:52:28 +0000
commit61f253ebe6282eea9b2f8ea900a7b29d2ef71958 (patch)
tree176ed9908557e437a70a1d9e61740ca840dd0b05 /binding
parent24484d3745896997b5d330ffad1e5e6c5eca95ef (diff)
Fix reverse fanspeed value since test over a real fan at f2f
Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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 14af56b..96b448a 100644
--- a/binding/hvac-demo-binding.c
+++ b/binding/hvac-demo-binding.c
@@ -137,7 +137,7 @@ static uint8_t read_temp()
static uint8_t read_fanspeed()
{
- return hvac_values[3].value;
+ return hvac_values[3].value ^ 0xFF;
}
static int write_can()