diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c | 4 |
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__)
|