Rev 1964 | Rev 2048 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1964 | Rev 1969 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | if (argument > 0 && argument < 6) { |
80 | if (argument > 0 && argument < 6) { |
81 | // A valid parameter-set (1..5) was chosen - use it. |
81 | // A valid parameter-set (1..5) was chosen - use it. |
82 | setActiveParamSet(argument); |
82 | setActiveParamSet(argument); |
83 | } |
83 | } |
84 | paramSet_readFromEEProm(getActiveParamSet()); |
84 | paramSet_readFromEEProm(getActiveParamSet()); |
- | 85 | analog_calibrateGyros(); |
|
85 | attitude_setNeutral(); |
86 | attitude_setNeutral(); |
86 | flight_setNeutral(); |
87 | flight_setNeutral(); |
87 | controlMixer_setNeutral(); |
88 | controlMixer_setNeutral(); |
88 | beepNumber(getActiveParamSet()); |
89 | beepNumber(getActiveParamSet()); |
89 | } else if (staticParams.bitConfig & (CFG_COMPASS_ACTIVE |
90 | } else if (staticParams.bitConfig & (CFG_COMPASS_ACTIVE |