using dma by default
This commit is contained in:
parent
e743039261
commit
2644057fb2
1 changed files with 1 additions and 5 deletions
|
@ -55,13 +55,9 @@ static volatile uint8_t transmitting;
|
||||||
#ifdef UART1_CONF_RX_WITH_DMA
|
#ifdef UART1_CONF_RX_WITH_DMA
|
||||||
#define RX_WITH_DMA UART1_CONF_RX_WITH_DMA
|
#define RX_WITH_DMA UART1_CONF_RX_WITH_DMA
|
||||||
#else /* 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 */
|
#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
|
#if TX_WITH_INTERRUPT
|
||||||
#define TXBUFSIZE 128
|
#define TXBUFSIZE 128
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue