direct the UART input stream to the default Contiki serial process

This commit is contained in:
zhitao 2008-12-09 15:56:39 +00:00
parent c4ba4b7008
commit a50d5b701e

View file

@ -45,6 +45,7 @@
#include "contiki.h"
#include "contiki-msb430.h"
#include "dev/serial.h"
extern volatile bool uart_edge;
@ -88,7 +89,9 @@ main(void)
process_init();
// serial interface
rs232_set_input(serial_input_byte);
rs232_init();
serial_init();
uart_lock(UART_MODE_RS232);
uart_unlock(UART_MODE_RS232);