AP_HAL_QURT: remove I2CDriver

I2CDevice now serves for the same purpose.
This commit is contained in:
Lucas De Marchi 2016-07-22 15:02:20 -03:00
parent 2ef78051c1
commit 13848f0f3f
1 changed files with 0 additions and 5 deletions

View File

@ -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,