mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_QURT: remove I2CDriver
I2CDevice now serves for the same purpose.
This commit is contained in:
parent
2ef78051c1
commit
13848f0f3f
|
@ -35,8 +35,6 @@ static UARTDriver uartBDriver("/dev/tty-4");
|
||||||
static UARTDriver uartCDriver("/dev/tty-2");
|
static UARTDriver uartCDriver("/dev/tty-2");
|
||||||
static UARTDriver uartDDriver(nullptr);
|
static UARTDriver uartDDriver(nullptr);
|
||||||
static UARTDriver uartEDriver(nullptr);
|
static UARTDriver uartEDriver(nullptr);
|
||||||
static Semaphore i2cSemaphore;
|
|
||||||
static Empty::I2CDriver i2cDriver(&i2cSemaphore);
|
|
||||||
|
|
||||||
static Empty::SPIDeviceManager spiDeviceManager;
|
static Empty::SPIDeviceManager spiDeviceManager;
|
||||||
static Empty::AnalogIn analogIn;
|
static Empty::AnalogIn analogIn;
|
||||||
|
@ -59,9 +57,6 @@ HAL_QURT::HAL_QURT() :
|
||||||
&uartEDriver,
|
&uartEDriver,
|
||||||
NULL, // uartF
|
NULL, // uartF
|
||||||
&i2c_mgr_instance,
|
&i2c_mgr_instance,
|
||||||
&i2cDriver,
|
|
||||||
NULL, /* only one i2c */
|
|
||||||
NULL, /* only one i2c */
|
|
||||||
&spiDeviceManager,
|
&spiDeviceManager,
|
||||||
&analogIn,
|
&analogIn,
|
||||||
&storageDriver,
|
&storageDriver,
|
||||||
|
|
Loading…
Reference in New Issue