Rev 2124 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2124 | Rev 2129 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | if (command == COMMAND_RCCAL && !repeated) { |
15 | if (command == COMMAND_RCCAL && !repeated) { |
16 | RC_calibrate(); |
16 | RC_calibrate(); |
17 | rcTrim_writeToEEProm(); |
17 | rcTrim_writeToEEProm(); |
18 | beepNumber(2); // 2 beeps means RC. |
18 | beepNumber(2); // 2 beeps means RC. |
19 | } else if (command == COMMAND_GYROCAL && !repeated) { |
19 | } else if (command == COMMAND_GYROCAL && !repeated) { |
20 | // Gyro calinbration, with or without selecting a new parameter-set. |
20 | // Gyro calibration, with or without selecting a new parameter-set. |
21 | // paramSet_readFromEEProm(1); |
21 | // paramSet_readFromEEProm(1); |
22 | analog_calibrate(); |
22 | analog_calibrate(); |
23 | attitude_setNeutral(); |
23 | attitude_setNeutral(); |
24 | controlMixer_setNeutral(); |
24 | controlMixer_setNeutral(); |
25 | beepNumber(1); // 1 beep means gyro. |
25 | beepNumber(1); // 1 beep means gyro. |