On Friday 31 October 2014 17:36:35 Matthias Brugger wrote: > - quot = DIV_ROUND_CLOSEST(port->uartclk, 256 * baud); > + quot = (port->uartclk / (256 * baud)) + 1; Should this be DIV_ROUND_UP then? Arnd