Commit 3a904397 authored by George Oikonomou's avatar George Oikonomou
Browse files

Make serial line special char values configurable

parent e8f5c716
......@@ -45,8 +45,13 @@
#error Change SERIAL_LINE_CONF_BUFSIZE in contiki-conf.h.
#endif
#ifndef IGNORE_CHAR
#define IGNORE_CHAR(c) (c == 0x0d)
#endif
#ifndef END
#define END 0x0a
#endif
static struct ringbuf rxbuf;
static uint8_t rxbuf_data[BUFSIZE];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment