Fix AP_Math include.

Fixes issue #137



git-svn-id: https://arducopter.googlecode.com/svn/trunk@562 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok@gmail.com 2010-09-27 04:05:10 +00:00
parent 0f5d01b563
commit 4e91c0c7d6
2 changed files with 3 additions and 4 deletions

View File

@ -35,6 +35,7 @@ extern "C" {
#include <Wire.h>
#include "APM_Compass.h"
#include "../AP_Math/AP_Math.h"
#define CompassAddress 0x1E

View File

@ -1,8 +1,6 @@
#ifndef APM_Compass_h
#define APM_Compass_h
#include <AP_Math.h>
#define APM_COMPASS_COMPONENTS_UP_PINS_BACK 0
#define APM_COMPASS_COMPONENTS_UP_PINS_LEFT 1
#define APM_COMPASS_COMPONENTS_UP_PINS_FORWARD 2