From 31e930c7fbd9a32f200c654a383d29f973d94440 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan-Simon=20M=C3=B6ller?= Date: Mon, 24 Apr 2017 10:42:53 +0200 Subject: [PATCH] Fix reverse fan speed issue in demo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 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() -- 2.16.6