Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 756 → Rev 757

/branches/V0.68d Code Redesign killagreg/main.c
192,6 → 192,19
printf("OK\n\r");
}
 
#if defined (__AVR_ATmega644P__)
if(BoardRelease == 10)
{
printf("\n\rSupport for GPS at 1st UART");
}
else
{
printf("\n\rSupport for GPS at 2nd UART");
}
#else // (__AVR_ATmega644__)
printf("\n\rSupport for GPS at 1st UART");
#endif
 
SetNeutral();
 
ROT_OFF;
215,9 → 228,9
{
//SPI_TransmitByte(); //#
UpdateMotor=0; // reset Flag, is enabled every 2 ms by isr of timer0
PORTD |= (1<<PORTD4);
//PORTD |= (1<<PORTD4);
MotorControl();
PORTD &= ~(1<<PORTD4);
//PORTD &= ~(1<<PORTD4);
SendMotorData();
ROT_OFF;
if(PcAccess) PcAccess--;