Browse Source

Fixed bug in compass tests, had it initialize fastserial.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1862 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
james.goppert@gmail.com 14 years ago
parent
commit
18c4b79a1e
  1. 2
      libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde

2
libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde

@ -9,6 +9,8 @@ @@ -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

Loading…
Cancel
Save