From: Jan-Simon Moeller Date: Mon, 19 Dec 2016 21:12:33 +0000 (+0000) Subject: Merge "Remove SIMULATE_HVAC define to make hvac use can bus" X-Git-Tag: 3.0.0~3 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=52233abc17f2238ffa4ee0a10b72376d503766b2;hp=ab4c3e751ff015f9d76241f5887c1f56d38095e3;p=apps%2Fhvac.git Merge "Remove SIMULATE_HVAC define to make hvac use can bus" --- 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()