X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fhvac-demo-binding.c;h=7f859a6645c19fb628141731333d756efe1c60c1;hb=31e930c7fbd9a32f200c654a383d29f973d94440;hp=1b776cda1de1b99205fcea7613cd2f3bedabc1bc;hpb=97a6c028a016aa8c345cbd5c6b15a90fcf6b7b5b;p=apps%2Fhvac.git 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()