terminal example: Remove unused BUFFER_SIZE macro, redundant setbuf

(Line-buffering is now disabled by default.)

Relates to #59.
This commit is contained in:
Angus Gratton 2015-11-21 17:11:07 +11:00
parent 4cfe40d348
commit 01773fd1c9

View file

@ -15,7 +15,6 @@
#include "task.h"
#define MAX_ARGC (10)
#define BUFFER_SIZE (81)
static void cmd_on(uint32_t argc, char *argv[])
{
@ -112,6 +111,5 @@ static void gpiomon()
void user_init(void)
{
uart_set_baud(0, 115200);
setbuf(stdout, NULL);
gpiomon();
}