Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 932 → Rev 931

/C-OSD/trunk/usart0.c
24,18 → 24,9
#include <util/delay.h>
#include "usart0.h"
 
#ifdef SERIALDEBUGDRAW
#define USART0ENABLE 1
#endif
#ifdef ANTENNATRACKTEST
#define USART0ENABLE 1
#endif
#ifdef ANTENNATRACKTEST
 
 
 
#ifdef USART0ENABLE
 
 
#if !(ALLCHARSDEBUG|(WRITECHARS != -1))
 
 
55,10 → 46,6
 
//asynchronous 8N1
UCSR0C = (1 << URSEL0) | (3 << UCSZ00);
 
 
DDRD |= (1 << DDD1); // set TXD pin as output
PORTD &= ~(1 << PORTD1); // disable pullup on TXD pin
}
 
 
114,4 → 101,4
 
#endif
 
#endif // USART0ENABLE
#endif // ANTENNATRACKTEST