Lucas De Marchi
c859c5ecd9
AP_HAL_PX4: update Device interface
2016-07-30 00:55:27 -03:00
Andrew Tridgell
1b8da3bce2
HAL_PX4: implement I2CDevice driver for PX4
2016-07-15 12:24:03 -03:00
Andrew Tridgell
8a7627474f
Revert "AP_HAL_PX4: use new I2CDevice interface"
...
This reverts commit f767918e0e
.
These commits broke startup on PX4
2016-05-11 12:19:00 +10:00
Andrew Tridgell
8c06e6cddc
Revert "AP_HAL_PX4: embed PX4_I2C object into I2CDevice"
...
This reverts commit 54fd3702c3
.
These commits broke startup on PX4
2016-05-11 12:18:45 +10:00
Lucas De Marchi
54fd3702c3
AP_HAL_PX4: embed PX4_I2C object into I2CDevice
...
Otherwise we would destroy PX4_I2C object after returning from
I2CDeviceManager::get_device(). Since this implementation is very
simple, just make PX4_I2C as an internal class and embed it into the
I2CDevice object.
2016-05-10 15:39:24 -03:00
Luiz Ywata
f767918e0e
AP_HAL_PX4: use new I2CDevice interface
2016-05-10 15:12:30 -03:00