fixed small typo that was stopping magnetometer initialisation code from being run.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@759 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
rmackay9@yahoo.com 2010-10-31 14:01:21 +00:00
parent 8b2245acda
commit 1adfde9ff6
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ void APM_Init() {
APM_RC.OutputCh(2,MIN_THROTTLE);
APM_RC.OutputCh(3,MIN_THROTTLE);
#ifdef IsMag
#ifdef IsMAG
if (MAGNETOMETER == 1) {
APM_Compass.Init(); // I2C initialization
APM_Compass.SetOrientation(MAGORIENTATION);
@ -186,4 +186,4 @@ void APM_Init() {
}