Merge "Fix reverse fanspeed value since test over a real fan at f2f"
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 19 Dec 2016 17:35:52 +0000 (17:35 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Mon, 19 Dec 2016 17:35:52 +0000 (17:35 +0000)
binding/hvac-demo-binding.c

index 14af56b..96b448a 100644 (file)
@@ -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()