Fixing input serial line initialization pointed by Peter Sjödin/KTH
For avr-rss2 platform
This commit is contained in:
parent
fa6c52633f
commit
29914b5a1f
2 changed files with 5 additions and 8 deletions
|
@ -71,6 +71,7 @@
|
|||
#include "contiki-lib.h"
|
||||
|
||||
#include "dev/rs232.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "dev/slip.h"
|
||||
|
||||
#if AVR_WEBSERVER
|
||||
|
@ -267,6 +268,10 @@ initialize(void)
|
|||
process_start(&etimer_process, NULL);
|
||||
ctimer_init();
|
||||
|
||||
/* After process start */
|
||||
serial_line_init();
|
||||
rs232_set_input(RS232_PORT_0, serial_line_input_byte);
|
||||
|
||||
/* Start radio and radio receive process */
|
||||
NETSTACK_RADIO.init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue