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:
parent
8b2245acda
commit
1adfde9ff6
@ -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() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user