diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 09:53:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 09:53:35 +0000 |
commit | 1f7b57f57590844b044c93113fc0d20e195a2e24 (patch) | |
tree | a15dabf95600526eef6566767a37626c5f5d73e8 /os | |
parent | 76a6057c1dde2252ccaee91ba09fea24e84d18aa (diff) | |
download | ChibiOS-1f7b57f57590844b044c93113fc0d20e195a2e24.tar.gz ChibiOS-1f7b57f57590844b044c93113fc0d20e195a2e24.tar.bz2 ChibiOS-1f7b57f57590844b044c93113fc0d20e195a2e24.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2104 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/uart_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/uart_lld.c b/os/hal/platforms/STM32/uart_lld.c index 68324b8f4..4ecce9a69 100644 --- a/os/hal/platforms/STM32/uart_lld.c +++ b/os/hal/platforms/STM32/uart_lld.c @@ -491,7 +491,7 @@ void uart_lld_start_send(UARTDriver *uartp, size_t n, const void *txbuf) { /* TX DMA channel preparation and start.*/
dmaSetupChannel(uartp->ud_dmap, uartp->ud_dmatx, n, txbuf,
- uartp->ud_dmaccr | DMA_CCR1_DIR |
+ uartp->ud_dmaccr | DMA_CCR1_DIR | DMA_CCR1_MINC |
DMA_CCR1_TEIE | DMA_CCR1_TCIE);
dmaEnableChannel(uartp->ud_dmap, uartp->ud_dmatx);
}
|