From ef3fe7e2c58adc793786cf78c70e571ab9ba465b Mon Sep 17 00:00:00 2001 From: DipSwitch Date: Wed, 26 Aug 2015 09:05:22 +0200 Subject: [PATCH] examples: Add local shell handlers for gnrc_networking --- examples/gnrc_networking/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gnrc_networking/main.c b/examples/gnrc_networking/main.c index 36181304d1..1508e6769e 100644 --- a/examples/gnrc_networking/main.c +++ b/examples/gnrc_networking/main.c @@ -46,9 +46,9 @@ int main(void) puts("All up, running the shell now"); #ifndef MODULE_NEWLIB (void) posix_open(uart0_handler_pid, 0); - shell_init(&shell, NULL, UART0_BUFSIZE, uart0_readc, uart0_putc); + shell_init(&shell, shell_commands, UART0_BUFSIZE, uart0_readc, uart0_putc); #else - shell_init(&shell, NULL, UART0_BUFSIZE, getchar, putchar); + shell_init(&shell, shell_commands, UART0_BUFSIZE, getchar, putchar); #endif shell_run(&shell);