mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:43:34 +08:00
ms4525_airspeed: change start_bus from bool to int
This commit is contained in:
committed by
Beat Küng
parent
c231b6834d
commit
5f3ea2f7ba
@@ -389,7 +389,7 @@ int bus_options[] = {
|
|||||||
#define NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0]))
|
#define NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0]))
|
||||||
|
|
||||||
int start(int i2c_bus);
|
int start(int i2c_bus);
|
||||||
bool start_bus(int i2c_bus);
|
int start_bus(int i2c_bus);
|
||||||
int stop();
|
int stop();
|
||||||
int reset();
|
int reset();
|
||||||
|
|
||||||
@@ -412,7 +412,7 @@ start(int i2c_bus)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
int
|
||||||
start_bus(int i2c_bus)
|
start_bus(int i2c_bus)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
Reference in New Issue
Block a user