From 00249dc8bb37bf65bdaf2a1fd419dc0f8c00da87 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 1 Dec 2015 17:58:34 -0200 Subject: [PATCH] AP_HAL_VRBRAIN: use empty I2CDevice --- libraries/AP_HAL_VRBRAIN/HAL_VRBRAIN_Class.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_VRBRAIN/HAL_VRBRAIN_Class.cpp b/libraries/AP_HAL_VRBRAIN/HAL_VRBRAIN_Class.cpp index 93bb696986..decd5abf26 100644 --- a/libraries/AP_HAL_VRBRAIN/HAL_VRBRAIN_Class.cpp +++ b/libraries/AP_HAL_VRBRAIN/HAL_VRBRAIN_Class.cpp @@ -38,6 +38,8 @@ static Empty::SPIDeviceManager spiDeviceManager; static Empty::OpticalFlow optflowDriver; //static Empty::GPIO gpioDriver; +static Empty::I2CDeviceManager i2c_mgr_instance; + static VRBRAINScheduler schedulerInstance; static VRBRAINStorage storageDriver; static VRBRAINRCInput rcinDriver; @@ -106,6 +108,7 @@ HAL_VRBRAIN::HAL_VRBRAIN() : &uartCDriver, /* uartC */ &uartDDriver, /* uartD */ &uartEDriver, /* uartE */ + &i2c_mgr_instance, &i2cDriver, /* Empty i2c */ &i2cDriver, /* Empty i2c */ &i2cDriver, /* Empty i2c */