using dma by default

This commit is contained in:
Fredrik Osterlind 2011-12-21 10:53:18 +01:00
parent e743039261
commit 2644057fb2

View File

@ -55,13 +55,9 @@ static volatile uint8_t transmitting;
#ifdef UART1_CONF_RX_WITH_DMA
#define RX_WITH_DMA UART1_CONF_RX_WITH_DMA
#else /* UART1_CONF_RX_WITH_DMA */
#define RX_WITH_DMA 0
#define RX_WITH_DMA 1
#endif /* UART1_CONF_RX_WITH_DMA */
#if RX_WITH_DMA
#warning RX_WITH_DMA ENABLED - WILL NOT WORK WITH MSPSIM / COOJA!
#endif /* RX_WITH_DMA */
#if TX_WITH_INTERRUPT
#define TXBUFSIZE 128