tests/periph_uart: fix shell buffer size

This commit is contained in:
Hauke Petersen 2020-01-31 13:54:15 +01:00
parent cdb427b760
commit 98478f0514

View File

@ -31,8 +31,12 @@
#include "stdio_uart.h"
#include "xtimer.h"
#ifndef SHELL_BUFSIZE
#define SHELL_BUFSIZE (128U)
#endif
#ifndef UART_BUFSIZE
#define UART_BUFSIZE (128U)
#endif
#define PRINTER_PRIO (THREAD_PRIORITY_MAIN - 1)
#define PRINTER_TYPE (0xabcd)
@ -295,7 +299,7 @@ int main(void)
PRINTER_PRIO, 0, printer, NULL, "printer");
/* run the shell */
char line_buf[SHELL_DEFAULT_BUFSIZE];
shell_run(shell_commands, line_buf, SHELL_DEFAULT_BUFSIZE);
char line_buf[SHELL_BUFSIZE];
shell_run(shell_commands, line_buf, SHELL_BUFSIZE);
return 0;
}