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 Lorenz Meier
parent dd044ed4be
commit 95295b30e8
1 changed files with 2 additions and 2 deletions

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;