mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
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:
parent
0f5d01b563
commit
4e91c0c7d6
libraries/APM_Compass
@ -35,6 +35,7 @@ extern "C" {
|
||||
|
||||
#include <Wire.h>
|
||||
#include "APM_Compass.h"
|
||||
#include "../AP_Math/AP_Math.h"
|
||||
|
||||
#define CompassAddress 0x1E
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user