mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
ms4525_airspeed: change start_bus from bool to int
This commit is contained in:
committed by
Lorenz Meier
parent
dd044ed4be
commit
95295b30e8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user