From 30ce8ad3111808670a42dfcf16ea4b5f8436409f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Feb 2016 14:22:12 +1100 Subject: [PATCH] HAL_QURT: fixed for addition of i2c manager --- libraries/AP_HAL_QURT/HAL_QURT_Class.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_QURT/HAL_QURT_Class.cpp b/libraries/AP_HAL_QURT/HAL_QURT_Class.cpp index b8ab518c4a..b6955b2069 100644 --- a/libraries/AP_HAL_QURT/HAL_QURT_Class.cpp +++ b/libraries/AP_HAL_QURT/HAL_QURT_Class.cpp @@ -46,6 +46,7 @@ static RCInput rcinDriver("/dev/tty-1"); static RCOutput rcoutDriver("/dev/tty-3"); static Util utilInstance; static Scheduler schedulerInstance; +static Empty::I2CDeviceManager i2c_mgr_instance; bool qurt_ran_overtime; @@ -56,6 +57,7 @@ HAL_QURT::HAL_QURT() : &uartCDriver, &uartDDriver, &uartEDriver, + &i2c_mgr_instance, &i2cDriver, NULL, /* only one i2c */ NULL, /* only one i2c */