/branches/V0.72p Code Redesign killagreg/uart1.c |
---|
54,15 → 54,12 |
#include "uart1.h" |
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG) |
#include "ubx.h" |
#define USART1_BAUD 57600 |
#else |
#ifdef USE_RC_DSL |
#include "dsl.h" |
#define USART1_BAUD 38400 |
#endif |
#ifdef USE_RC_SPECTRUM |
#include "spectrum.h" |
#define USART1_BAUD 115200 |
#endif |
#endif |
131,10 → 128,8 |
// enable DRE interrupt |
//UCSR1B |= (1 << UDRIE1); |
// restore global interrupt flags |
SREG = sreg; |
} |