From 0099581d79f4b98b5dee85e0fe1cdc1ab4612bd0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 20 Jan 2018 14:51:19 +0000 Subject: Small fix to buffer size settings. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11365 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/ports/STM32/LLD') diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c index 80996a802..b78b6c195 100644 --- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c +++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c @@ -158,7 +158,7 @@ static uint8_t sd_out_buf3[STM32_SERIAL_USART3_OUT_BUF_SIZE]; static uint8_t sd_in_buf4[STM32_SERIAL_UART4_IN_BUF_SIZE]; /** @brief Output buffer for SD4.*/ -static uint8_t sd_out_buf4[STM32_SERIAL_UART4_IN_BUF_SIZE]; +static uint8_t sd_out_buf4[STM32_SERIAL_UART4_OUT_BUF_SIZE]; #endif #if STM32_SERIAL_USE_UART5 || defined(__DOXYGEN__) @@ -166,7 +166,7 @@ static uint8_t sd_out_buf4[STM32_SERIAL_UART4_IN_BUF_SIZE]; static uint8_t sd_in_buf5[STM32_SERIAL_UART5_IN_BUF_SIZE]; /** @brief Output buffer for SD5.*/ -static uint8_t sd_out_buf5[STM32_SERIAL_UART5_IN_BUF_SIZE]; +static uint8_t sd_out_buf5[STM32_SERIAL_UART5_OUT_BUF_SIZE]; #endif #if STM32_SERIAL_USE_USART6 || defined(__DOXYGEN__) -- cgit v1.2.3