mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
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. |
||
---|---|---|
.. | ||
examples/simple | ||
AnalogIn.cpp | ||
AnalogIn.h | ||
AP_HAL_PX4_Namespace.h | ||
AP_HAL_PX4.h | ||
GPIO.cpp | ||
GPIO.h | ||
HAL_PX4_Class.cpp | ||
HAL_PX4_Class.h | ||
I2CDevice.cpp | ||
I2CDevice.h | ||
NSHShellStream.cpp | ||
px4_param.cpp | ||
RCInput.cpp | ||
RCInput.h | ||
RCOutput.cpp | ||
RCOutput.h | ||
Scheduler.cpp | ||
Scheduler.h | ||
Semaphores.cpp | ||
Semaphores.h | ||
Storage.cpp | ||
Storage.h | ||
system.cpp | ||
UARTDriver.cpp | ||
UARTDriver.h | ||
Util.cpp | ||
Util.h |