summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-19 17:35:52 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-19 17:35:52 +0000
commit7fd8084c269b25aec2a06f22fd40e155f3dd95de (patch)
tree619ca8f2e10483d8cb4f8063ad9c4aa4ce80f11c /binding
parent45a90600c28111cdf0a358390c0082d6785d7f6a (diff)
parent61f253ebe6282eea9b2f8ea900a7b29d2ef71958 (diff)
Merge "Fix reverse fanspeed value since test over a real fan at f2f"
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()