Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy
This commit is contained in:
parent
7f3def31b7
commit
0076bfe8a5
15 changed files with 68 additions and 66 deletions
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: serial-shell.c,v 1.4 2009/03/02 21:56:16 adamdunkels Exp $
|
||||
* $Id: serial-shell.c,v 1.5 2009/03/17 15:56:32 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -46,7 +46,7 @@
|
|||
#include "contiki.h"
|
||||
#include "shell.h"
|
||||
|
||||
#include "dev/serial.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "net/rime.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -84,7 +84,7 @@ PROCESS_THREAD(serial_shell_process, ev, data)
|
|||
shell_init();
|
||||
|
||||
while(1) {
|
||||
PROCESS_WAIT_EVENT_UNTIL(ev == serial_event_message && data != NULL);
|
||||
PROCESS_WAIT_EVENT_UNTIL(ev == serial_line_event_message && data != NULL);
|
||||
shell_input(data, strlen(data));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue