Holger Steinhaus
8b8a99e1aa
AP_HAL_PX4: fix possible overflow/truncation issue
...
bus_id is declared to be a 5 bit value, so 2 digits are necessary for
string representation.
7 years ago
Andrew Tridgell
3402d07651
HAL_PX4: fixed a race condition on i2c init
...
we could call init on two devices with the same name, which caused
init_ok to be false. This could cause the SMBus battery to fail to
initialise
Thanks to Michael duBreuil for finding this!
7 years ago
Andrew Tridgell
b72532164b
AP_HAL_PX4: rename macros to avoid conflicts
...
these macros were also defined in NuttX in clock.h
8 years ago
Andrew Tridgell
3415dfb46c
HAL_PX4: implement split transfers for I2C
8 years ago
Andrew Tridgell
16489d2a13
HAL_PX4: implement device IDs for I2C and SPI
8 years ago
Andrew Tridgell
88df9c7029
HAL_PX4: added thread-per-bus implementation for I2C
8 years ago
Andrew Tridgell
1b8da3bce2
HAL_PX4: implement I2CDevice driver for PX4
9 years ago