tests: periph_gpio: fix usage of shell_commands

This commit is contained in:
Kaspar Schleiser 2015-08-28 09:16:51 +02:00
parent 4cf8cbccae
commit bc260fff88

View File

@ -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);