Add fallback to simulation mode 05/8005/1 3.0.0 chinook/3.0.0 chinook_3.0.0
authorScott Murray <scott.murray@konsulko.com>
Fri, 30 Dec 2016 18:13:45 +0000 (13:13 -0500)
committerScott Murray <scott.murray@konsulko.com>
Fri, 30 Dec 2016 18:26:00 +0000 (13:26 -0500)
commit2554564b73a70cb34a1323430dffec17c0b9ee9f
tree1aad909bfb919d96b209965fc2555cbbbcfdd743
parent6a76b3f9a874629bb332b899e8617e2294c01a35
Add fallback to simulation mode

Add logic to fall back to simulation mode in the absence of the CAN interface,
based on a modified form of the dropped changes from patch #2 of:

https://gerrit.automotivelinux.org/gerrit/#/c/7641

This should fix SPEC-383 by allowing the HVAC demo to run on setups without
the CAN hardware again.

Bug-AGL: SPEC-383

Change-Id: I3ee11c92baccde427986ceb077a37e9b9c900b11
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
binding/hvac-demo-binding.c