129,12 → 129,12 |
// Parameter Set handling |
ParamSet_Init(); |
|
// wait for a short time (otherwise the RC channel check won't work below) |
// Wait for a short time (otherwise the RC channel check won't work below) |
// timer = SetDelay(500); |
// while(!CheckDelay(timer)); |
|
// Instead, while away the time by flashing the 2 outputs: |
// First J16, then J17. Makes it easier to see which is which. |
|
timer = SetDelay(200); |
J16_ON; |
GRN_OFF; |
153,6 → 153,7 |
J17_OFF; |
|
twi_diagnostics(); |
|
printf("\n\r==================================="); |
|
/* |
195,7 → 196,7 |
// Init flight parameters |
flight_setNeutral(); |
|
RED_OFF; |
// RED_OFF; |
|
beep(2000); |
|
260,8 → 261,7 |
RED_OFF; |
} |
|
// allow Serial Data Transmit if motors must not updated or motors are not running |
// Why only when that??? |
// Allow Serial Data Transmit if motors must not updated or motors are not running |
if( !runFlightControl || !(MKFlags & MKFLAG_MOTOR_RUN)) { |
USART0_TransmitTxData(); |
} |