From bc260fff88e1ceb9c845d940e245b77d2a5d4fe9 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 28 Aug 2015 09:16:51 +0200 Subject: [PATCH] tests: periph_gpio: fix usage of shell_commands --- tests/periph_gpio/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/periph_gpio/main.c b/tests/periph_gpio/main.c index 1ea711c2a9..c0939944d5 100644 --- a/tests/periph_gpio/main.c +++ b/tests/periph_gpio/main.c @@ -253,9 +253,9 @@ int main(void) /* start the shell */ #ifndef MODULE_NEWLIB (void) posix_open(uart0_handler_pid, 0); - shell_init(&shell, NULL, SHELL_BUFSIZE, uart0_readc, uart0_putc); + shell_init(&shell, shell_commands, SHELL_BUFSIZE, uart0_readc, uart0_putc); #else - shell_init(&shell, NULL, SHELL_BUFSIZE, getchar, putchar); + shell_init(&shell, shell_commands, SHELL_BUFSIZE, getchar, putchar); #endif shell_run(&shell);