Fixed bug in compass tests, had it initialize fastserial.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1862 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
james.goppert@gmail.com 2011-04-09 19:57:54 +00:00
parent 2d1b59e9a6
commit 18c4b79a1e
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
#include <AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <Wire.h>
FastSerialPort0(Serial);
#define ToRad(x) (x*0.01745329252) // *pi/180
#define ToDeg(x) (x*57.2957795131) // *180/pi