diff options
Diffstat (limited to 'chip/stm32/usart_rx_dma.c')
-rw-r--r-- | chip/stm32/usart_rx_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usart_rx_dma.c b/chip/stm32/usart_rx_dma.c index 868425d086..a185878261 100644 --- a/chip/stm32/usart_rx_dma.c +++ b/chip/stm32/usart_rx_dma.c @@ -115,5 +115,5 @@ void usart_rx_dma_info(struct usart_config const *config) DOWNCAST(config->rx, struct usart_rx_dma const, usart_rx); ccprintf(" DMA RX max_bytes %d\n", - atomic_read_clear((uint32_t *)&dma_config->state->max_bytes)); + atomic_clear((uint32_t *)&dma_config->state->max_bytes)); } |