Skip to content
Commit 2fc2928f authored by Andrei-Edward Popa's avatar Andrei-Edward Popa Committed by Anas Nashif
Browse files

drivers: serial: rpi_pico: check if baudrate was set by the API function



if peripheral clock is not configured, uart init API function returns 0,
so we need to check the return value of this function

Signed-off-by: default avatarAndrei-Edward Popa <andrei_edward.popa@upb.ro>
parent 044594e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment