Rev 1796 | Rev 1868 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1796 | Rev 1821 | ||
---|---|---|---|
Line 84... | Line 84... | ||
84 | ParamSet_ReadFromEEProm(getActiveParamSet()); |
84 | ParamSet_ReadFromEEProm(getActiveParamSet()); |
85 | attitude_setNeutral(); |
85 | attitude_setNeutral(); |
86 | flight_setNeutral(); |
86 | flight_setNeutral(); |
87 | controlMixer_setNeutral(); |
87 | controlMixer_setNeutral(); |
88 | beepNumber(getActiveParamSet()); |
88 | beepNumber(getActiveParamSet()); |
89 | } else if(staticParams.GlobalConfig & (CFG_COMPASS_ACTIVE | CFG_GPS_ACTIVE) && argument == 7) { |
89 | } else if (staticParams.GlobalConfig & (CFG_COMPASS_ACTIVE |
- | 90 | | CFG_GPS_ACTIVE) && argument == 7) { |
|
90 | // If right stick is centered and down |
91 | // If right stick is centered and down |
91 | // TODO: Out of here! State machine instead. |
92 | // TODO: Out of here! State machine instead. |
92 | compassCalState = 1; |
93 | compassCalState = 1; |
93 | beep(1000); |
94 | beep(1000); |
94 | } |
95 | } |