X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fhvac-demo-binding.c;fp=binding%2Fhvac-demo-binding.c;h=491338031b9563c23ce37520674e62a8455fd09d;hb=52233abc17f2238ffa4ee0a10b72376d503766b2;hp=d35330e874f97e7b2c6d9d2e9b26c7be54be67ca;hpb=ab4c3e751ff015f9d76241f5887c1f56d38095e3;p=apps%2Fhvac.git diff --git a/binding/hvac-demo-binding.c b/binding/hvac-demo-binding.c index d35330e..4913380 100644 --- a/binding/hvac-demo-binding.c +++ b/binding/hvac-demo-binding.c @@ -174,7 +174,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()