mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_HAL_VRBRAIN: use empty I2CDevice
This commit is contained in:
parent
8de329fc81
commit
00249dc8bb
@ -38,6 +38,8 @@ static Empty::SPIDeviceManager spiDeviceManager;
|
|||||||
static Empty::OpticalFlow optflowDriver;
|
static Empty::OpticalFlow optflowDriver;
|
||||||
//static Empty::GPIO gpioDriver;
|
//static Empty::GPIO gpioDriver;
|
||||||
|
|
||||||
|
static Empty::I2CDeviceManager i2c_mgr_instance;
|
||||||
|
|
||||||
static VRBRAINScheduler schedulerInstance;
|
static VRBRAINScheduler schedulerInstance;
|
||||||
static VRBRAINStorage storageDriver;
|
static VRBRAINStorage storageDriver;
|
||||||
static VRBRAINRCInput rcinDriver;
|
static VRBRAINRCInput rcinDriver;
|
||||||
@ -106,6 +108,7 @@ HAL_VRBRAIN::HAL_VRBRAIN() :
|
|||||||
&uartCDriver, /* uartC */
|
&uartCDriver, /* uartC */
|
||||||
&uartDDriver, /* uartD */
|
&uartDDriver, /* uartD */
|
||||||
&uartEDriver, /* uartE */
|
&uartEDriver, /* uartE */
|
||||||
|
&i2c_mgr_instance,
|
||||||
&i2cDriver, /* Empty i2c */
|
&i2cDriver, /* Empty i2c */
|
||||||
&i2cDriver, /* Empty i2c */
|
&i2cDriver, /* Empty i2c */
|
||||||
&i2cDriver, /* Empty i2c */
|
&i2cDriver, /* Empty i2c */
|
||||||
|
Loading…
Reference in New Issue
Block a user