Skip to content

Commit

Permalink
This is a temporary hot fix for lost data
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sidrane committed Jun 15, 2015
1 parent 678eea3 commit 8004677
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nuttx/arch/arm/src/stm32/stm32_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,12 @@
* everytime the FIFO receives half this number of bytes.
*/

#if defined(CONFIG_STM32_RXDMA_BUFFER_SIZE_OVERRIDE)
# define RXDMA_BUFFER_SIZE CONFIG_STM32_RXDMA_BUFFER_SIZE_OVERRIDE
#else
# define RXDMA_BUFFER_SIZE 32
#endif


/* DMA priority */

Expand Down

0 comments on commit 8004677

Please sign in to comment.