Linux: Added config and stubs to compile I2C device for Linux

Not yet functional. Full implementation will provide an IOCTL interface to
do bi-directional transfer. will model the interface after Linux.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-03-16 19:35:21 -07:00
parent 598b05fcba
commit 2feeecdab1
9 changed files with 321 additions and 503 deletions
+1
View File
@@ -890,6 +890,7 @@ start_bus(struct ms5611_bus_option &bus)
if (bus.dev != nullptr && OK != bus.dev->init()) {
delete bus.dev;
bus.dev = NULL;
warnx("bus init failed %p", bus.dev);
return false;
}