mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-26 04:32:02 +00:00
00224dd7eb
still need set __putc as a fuction pointer to the uart_putc
7 lines
135 B
C
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;
|
|
}
|