From 61f253ebe6282eea9b2f8ea900a7b29d2ef71958 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 16 Dec 2016 02:52:28 +0000 Subject: Fix reverse fanspeed value since test over a real fan at f2f Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9 Signed-off-by: Romain Forlot --- binding/hvac-demo-binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.2.3-korg