mirror of
https://github.com/apache/nuttx.git
synced 2026-09-11 13:16:33 +00:00
stm32:stm32_serial Forgot the -1 on mask
This commit is contained in:
parent
e4b71a06bb
commit
b8ef079951
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@
|
|||
# endif
|
||||
# define RXDMA_MUTIPLE 4
|
||||
# define RXDMA_BUFFER_SIZE ((CONFIG_STM32_SERIAL_RXDMA_BUFFER_SIZE \
|
||||
+ RXDMA_MUTIPLE) & ~RXDMA_MUTIPLE)
|
||||
+ RXDMA_MUTIPLE) & ~(RXDMA_MUTIPLE-1))
|
||||
|
||||
/* DMA priority */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue