Rev 2055 | Rev 2097 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2055 | Rev 2088 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | attitude_setNeutral(); |
91 | attitude_setNeutral(); |
92 | controlMixer_setNeutral(); |
92 | controlMixer_setNeutral(); |
93 | beepNumber(getActiveParamSet()); |
93 | beepNumber(getActiveParamSet()); |
94 | } |
94 | } |
95 | #ifdef USE_MK3MAG |
95 | #ifdef USE_MK3MAG |
96 | else if (staticParams.bitConfig & (CFG_COMPASS_ENABLED | CFG_GPS_ENABLED) && argument == 7) { |
96 | else if ((staticParams.bitConfig & CFG_COMPASS_ENABLED) && argument == 7) { |
97 | // If right stick is centered and down |
97 | // If right stick is centered and down |
98 | compassCalState = 1; |
98 | compassCalState = 1; |
99 | beep(1000); |
99 | beep(1000); |
100 | } |
100 | } |
101 | #endif |
101 | #endif |