/branches/dongfang_FC_fixedwing/main.c |
---|
137,7 → 137,7 |
J4LOW; |
// Allow Serial Data Transmit if motors must not updated or motors are not running |
if (!runFlightControl || !(MKFlags & MKFLAG_MOTOR_RUN)) { |
if (!runFlightControl || !isMotorRunning) { |
usart0_transmitTxData(); |
} |
169,6 → 169,7 |
SPI_TransmitByte(); |
} |
#endif |
calculateFeaturedServoValues(); |
if (runFlightControl) { // Time for the next iteration was up before the current finished. Signal error. |
debugOut.digital[1] |= DEBUG_MAINLOOP_TIMER; |