contiki/lib/uart1.c
Mariano Alvira 00224dd7eb pulled put out of lib
still need set __putc as a fuction pointer to the uart_putc
2010-03-03 08:09:19 -05:00

7 lines
135 B
C

#include <uart1.h>
void uart1_putc(char c) {
while(*UT1CON == 31); /* wait for there to be room in the buffer */
*UART1_DATA = c;
}