terminal example: Remove unused BUFFER_SIZE macro, redundant setbuf
(Line-buffering is now disabled by default.) Relates to #59.
This commit is contained in:
parent
4cfe40d348
commit
01773fd1c9
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue