Browse Source

Fix AP_Math include.


			
			
				master
			
			
		
DrZiplok@gmail.com 15 years ago
parent
commit
4e91c0c7d6
  1. 1
      libraries/APM_Compass/APM_Compass.cpp
  2. 2
      libraries/APM_Compass/APM_Compass.h

1
libraries/APM_Compass/APM_Compass.cpp

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

2
libraries/APM_Compass/APM_Compass.h

@ -1,8 +1,6 @@ @@ -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…
Cancel
Save