diff options
author | 2017-04-24 10:42:53 +0200 | |
---|---|---|
committer | 2017-04-24 08:48:20 +0000 | |
commit | 31e930c7fbd9a32f200c654a383d29f973d94440 (patch) | |
tree | 2f3729e00a55df9cb784273239a343c73385c67f /binding | |
parent | 97a6c028a016aa8c345cbd5c6b15a90fcf6b7b5b (diff) |
Fix reverse fan speed issue in demochinook_3.0.4chinook_3.0.3chinook/3.0.4chinook/3.0.33.0.43.0.3chinook
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')
-rw-r--r-- | binding/hvac-demo-binding.c | 2 |
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() |