/branches/dongfang_FC_fixedwing/arduino_atmega328/commands.c |
---|
19,8 → 19,6 |
uint8_t command = controlMixer_getCommand(); |
uint8_t repeated = controlMixer_isCommandRepeated(); |
uint8_t argument = controlMixer_getArgument(); |
// TODO! Mode change gadget of some kind. |
if (!isFlying) { |
if (command == COMMAND_GYROCAL && !repeated) { |
// Gyro calinbration, with or without selecting a new parameter-set. |