• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision13215 (tree)
Time2019-12-10 17:29:13
Authorgdisirio

Log Message

USARTv1-related fixes.

Change Summary

Incremental Difference

--- trunk/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c (revision 13214)
+++ trunk/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c (revision 13215)
@@ -350,8 +350,9 @@
350350 }
351351
352352 /* Timeout interrupt sources are only checked if enabled in CR1.*/
353- if ((cr1 & USART_CR1_IDLEIE) && (sr & USART_SR_IDLE))
354- _uart_timeout_isr_code(uartp);
353+ if ((cr1 & USART_CR1_IDLEIE) && (sr & USART_SR_IDLE)) {
354+ _uart_timeout_isr_code(uartp);
355+ }
355356 }
356357
357358 /*===========================================================================*/
--- trunk/testhal/STM32/multi/UART/cfg/stm32f407_discovery/portab.c (revision 13214)
+++ trunk/testhal/STM32/multi/UART/cfg/stm32f407_discovery/portab.c (revision 13215)
@@ -49,6 +49,7 @@
4949 NULL,
5050 NULL,
5151 NULL,
52+ NULL,
5253 38400,
5354 0,
5455 USART_CR2_LINEN,
Show on old repository browser