mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-15 00:29:02 +00:00
Increased the default input line length from 40 to 80
This commit is contained in:
parent
25a5434fb5
commit
b356ebe009
@ -28,16 +28,15 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: serial.c,v 1.2 2006/07/03 11:29:16 nifi Exp $
|
||||
* @(#)$Id: serial.c,v 1.3 2008/01/08 07:49:51 adamdunkels Exp $
|
||||
*/
|
||||
#include "serial.h"
|
||||
#include <string.h> /* for memcpy() */
|
||||
|
||||
|
||||
#ifdef SERIAL_CONF_BUFSIZE
|
||||
#define BUFSIZE SERIAL_CONF_BUFSIZE
|
||||
#else /* SERIAL_CONF_BUFSIZE */
|
||||
#define BUFSIZE 40
|
||||
#define BUFSIZE 80
|
||||
#endif /* SERIAL_CONF_BUFSIZE */
|
||||
|
||||
#define IGNORE_CHAR(c) (c == 0x0d)
|
||||
@ -51,6 +50,7 @@ PROCESS(serial_process, "Serial driver");
|
||||
|
||||
process_event_t serial_event_message;
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int
|
||||
serial_input_byte(unsigned char c)
|
||||
|
Loading…
Reference in New Issue
Block a user