Rev 2102 | Rev 2108 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2102 | Rev 2106 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | // TODO! Mode change gadget of some kind. |
23 | // TODO! Mode change gadget of some kind. |
24 | if (!isMotorRunning) { |
24 | if (!isMotorRunning) { |
25 | if (command == COMMAND_GYROCAL && !repeated) { |
25 | if (command == COMMAND_GYROCAL && !repeated) { |
26 | // Gyro calinbration, with or without selecting a new parameter-set. |
26 | // Gyro calinbration, with or without selecting a new parameter-set. |
27 | paramSet_readFromEEProm(1); |
27 | paramSet_readFromEEProm(1); |
28 | analog_calibrateGyros(); |
28 | analog_calibrate(); |
29 | attitude_setNeutral(); |
29 | attitude_setNeutral(); |
30 | controlMixer_setNeutral(); |
30 | controlMixer_setNeutral(); |
31 | beepNumber(1); |
31 | beepNumber(1); |
32 | } else if (command == COMMAND_CHMOD && !repeated) { |
32 | } else if (command == COMMAND_CHMOD && !repeated) { |
33 | configuration_setFlightParameters(argument); |
33 | configuration_setFlightParameters(argument); |