Skip to content
Commit 044de03d authored by Kenneth J. Miller's avatar Kenneth J. Miller Committed by Carles Cufí
Browse files

drivers: serial: stm32: Fix flawed runtime config check



Replace incorrect and limited runtime parity/data bits conditional
configuration with build-time logic using BUILD_ASSERT. This allows for
more flexible UART configurations, while preventing invalid DTS
configurations at build-time.

Signed-off-by: default avatarKenneth J. Miller <ken@miller.ec>
parent 5217a172
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment