altos/stmf0: Compute serial baud rate registers at runtime
authorKeith Packard <keithp@keithp.com>
Fri, 28 Apr 2017 07:02:54 +0000 (00:02 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 28 Apr 2017 07:02:54 +0000 (00:02 -0700)
commitac3fc7da669f58c7abd25b0ca8cc425238b84217
tree962f7f44321614e628558ecd42021dff5b5539ca
parent7d4f7880b0934c208df65cea8b0f549f32f1c7d2
altos/stmf0: Compute serial baud rate registers at runtime

This allows the system clock to vary at runtime, instead of requiring
a fixed value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_serial_stm.c