ms4525_airspeed: change start_bus from bool to int

This commit is contained in:
DanielePettenuzzo 2018-06-17 12:50:14 +02:00 committed by Beat Küng
parent c231b6834d
commit 5f3ea2f7ba

View File

@ -389,7 +389,7 @@ int bus_options[] = {
#define NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0]))
int start(int i2c_bus);
bool start_bus(int i2c_bus);
int start_bus(int i2c_bus);
int stop();
int reset();
@ -412,7 +412,7 @@ start(int i2c_bus)
}
bool
int
start_bus(int i2c_bus)
{
int fd;