Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2109 → Rev 2110

/branches/dongfang_FC_fixedwing/arduino_atmega328/main.c
114,7 → 114,7
} else {
debugOut.digital[0] &= ~DEBUG_MAINLOOP_TIMER;
}
J4HIGH;
PD2HIGH;
// This is probably the correct order:
// The attitude computation should not depend on anything from control (except maybe the estimation of control activity level)
// The control may depend on attitude - for example, attitude control uses pitch and roll angles, compass control uses yaw angle etc.
123,7 → 123,7
controlMixer_periodicTask();
commands_handleCommands();
flight_control();
J4LOW;
PD2LOW;
 
// Allow Serial Data Transmit if motors must not updated or motors are not running
if (!runFlightControl || !isFlying) {