diff options
Diffstat (limited to 'os/hal/platforms/STM32/USARTv2/serial_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/USARTv2/serial_lld.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/USARTv2/serial_lld.h b/os/hal/platforms/STM32/USARTv2/serial_lld.h index d3b3a9352..054e89194 100644 --- a/os/hal/platforms/STM32/USARTv2/serial_lld.h +++ b/os/hal/platforms/STM32/USARTv2/serial_lld.h @@ -252,7 +252,9 @@ typedef struct { uint8_t ob[SERIAL_BUFFERS_SIZE]; \
/* End of the mandatory fields.*/ \
/* Pointer to the USART registers block.*/ \
- USART_TypeDef *usart;
+ USART_TypeDef *usart; \
+ /* Clock frequency for the associated USART/UART.*/ \
+ uint32_t clock;
/*===========================================================================*/
/* Driver macros. */
|