One more piece of paranoia when resetting DMA

This commit is contained in:
px4dev 2013-07-04 23:19:24 -07:00
parent 43210413a9
commit 94b638d848
1 changed files with 3 additions and 1 deletions

View File

@ -286,7 +286,9 @@ static void
dma_reset(void)
{
rCR3 &= ~(USART_CR3_DMAT | USART_CR3_DMAR);
(void)rSR;
(void)rDR;
(void)rDR;
/* kill any pending DMA */
stm32_dmastop(tx_dma);