From d759ee97c5944512a188bc5fa7082eaf0725a98f Mon Sep 17 00:00:00 2001 From: "DrZiplok@gmail.com" Date: Tue, 23 Nov 2010 04:03:43 +0000 Subject: [PATCH] Fix this so that it compiles again. git-svn-id: https://arducopter.googlecode.com/svn/trunk@898 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_IMU/AP_IMU.cpp | 3 ++- libraries/AP_IMU/AP_IMU.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/AP_IMU/AP_IMU.cpp b/libraries/AP_IMU/AP_IMU.cpp index 81e797b0d0..6f49396b85 100644 --- a/libraries/AP_IMU/AP_IMU.cpp +++ b/libraries/AP_IMU/AP_IMU.cpp @@ -54,7 +54,8 @@ const float AP_IMU::_gyro_temp_curve[3][3] = { {1665,0,0} }; // To Do - make additional constructors to pass this in. - +// Someone is responsible for providing an APM_ADC instance. +extern APM_ADC_Class APM_ADC; // Constructors //////////////////////////////////////////////////////////////// diff --git a/libraries/AP_IMU/AP_IMU.h b/libraries/AP_IMU/AP_IMU.h index 682f629f66..6ea880a4d7 100644 --- a/libraries/AP_IMU/AP_IMU.h +++ b/libraries/AP_IMU/AP_IMU.h @@ -46,5 +46,3 @@ private: }; #endif - -