Skip to content
Commit ce4c0188 authored by Jakub Luzny's avatar Jakub Luzny Committed by Anup Patel
Browse files

lib: utils/serial: Round UART8250 baud rate divisor to nearest integer



Previously, it was rounded down and that gives suboptimal results when
non-standard clock sources or baud rates are used.

Signed-off-by: default avatarJakub Luzny <jakub.luzny@codasip.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 6ad8917b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment