X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fhvac-demo-binding.c;h=7f859a6645c19fb628141731333d756efe1c60c1;hb=76da93597a0862bae57a1eb574c564990e3b39b6;hp=1b776cda1de1b99205fcea7613cd2f3bedabc1bc;hpb=2554564b73a70cb34a1323430dffec17c0b9ee9f;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()