/* Output a single byte to the rs485 port.  */
void rs485_putc(const char c)
/* Output a single byte to the rs485 port.  */
void rs485_putc(const char c)
{
	struct s3c24x0_uart * const uart = s3c24x0_get_base_uart(UART_NR);
	while (!(uart->UTRSTAT & 0x2));
	uart->UTXH = c;
	if (c == '\n')
		rs485_putc ('\r');
}