Skip to content
Commit f503b7a2 authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Alberto Escolar
Browse files

drivers: serial: stm32: replace `config` parameter with `usart`



Updated function parameters from `const struct uart_stm32_config *config`
to `USART_TypeDef *usart`. This change reduces the level of pointer
indirection, which minimizes repeated dereferencing and helps reduce
the overall code size.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 86e0fe13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment