add shell comands

This commit is contained in:
Harald Pichler 2017-09-01 11:18:20 +02:00
parent 13c4934a37
commit 7a6bab7b10
4 changed files with 34 additions and 7 deletions

View file

@ -45,8 +45,10 @@
#error Change SERIAL_LINE_CONF_BUFSIZE in contiki-conf.h.
#endif
#define IGNORE_CHAR(c) (c == 0x0d)
#define END 0x0a
//#define IGNORE_CHAR(c) (c == 0x0d)
//#define END 0x0a
#define IGNORE_CHAR(c) (c == 0x0a)
#define END 0x0d
static struct ringbuf rxbuf;
static uint8_t rxbuf_data[BUFSIZE];