From 202101c89045d6d765f752cc132ec340cb10ff4b Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Sat, 21 Nov 2015 17:11:07 +1100 Subject: [PATCH] terminal example: Remove unused BUFFER_SIZE macro, redundant setbuf (Line-buffering is now disabled by default.) Relates to #59. --- examples/terminal/terminal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/terminal/terminal.c b/examples/terminal/terminal.c index f7c5923..6da2590 100644 --- a/examples/terminal/terminal.c +++ b/examples/terminal/terminal.c @@ -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(); }