Increased the default input line length from 40 to 80

This commit is contained in:
adamdunkels 2008-01-08 07:49:51 +00:00
parent 25a5434fb5
commit b356ebe009

View file

@ -28,16 +28,15 @@
* *
* This file is part of the Contiki operating system. * 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 "serial.h"
#include <string.h> /* for memcpy() */ #include <string.h> /* for memcpy() */
#ifdef SERIAL_CONF_BUFSIZE #ifdef SERIAL_CONF_BUFSIZE
#define BUFSIZE SERIAL_CONF_BUFSIZE #define BUFSIZE SERIAL_CONF_BUFSIZE
#else /* SERIAL_CONF_BUFSIZE */ #else /* SERIAL_CONF_BUFSIZE */
#define BUFSIZE 40 #define BUFSIZE 80
#endif /* SERIAL_CONF_BUFSIZE */ #endif /* SERIAL_CONF_BUFSIZE */
#define IGNORE_CHAR(c) (c == 0x0d) #define IGNORE_CHAR(c) (c == 0x0d)
@ -51,6 +50,7 @@ PROCESS(serial_process, "Serial driver");
process_event_t serial_event_message; process_event_t serial_event_message;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int int
serial_input_byte(unsigned char c) serial_input_byte(unsigned char c)