Browse Source

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
mission-4.1.18
rmackay9@yahoo.com 14 years ago
parent
commit
1adfde9ff6
  1. 4
      ArducopterNG/System.pde

4
ArducopterNG/System.pde

@ -125,7 +125,7 @@ void APM_Init() { @@ -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() { @@ -186,4 +186,4 @@ void APM_Init() {
}

Loading…
Cancel
Save