aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-20 14:51:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-20 14:51:19 +0000
commit0099581d79f4b98b5dee85e0fe1cdc1ab4612bd0 (patch)
tree5b8d3424759bcafe7514e4b811223cabbb22705d /os
parentb0c1396647890bed5c467dbbbb87e4dac42a6c91 (diff)
downloadChibiOS-0099581d79f4b98b5dee85e0fe1cdc1ab4612bd0.tar.gz
ChibiOS-0099581d79f4b98b5dee85e0fe1cdc1ab4612bd0.tar.bz2
ChibiOS-0099581d79f4b98b5dee85e0fe1cdc1ab4612bd0.zip
Small fix to buffer size settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11365 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c4
1 files changed, 2 insertions, 2 deletions
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__)