tests: periph_gpio: fix usage of shell_commands
This commit is contained in:
parent
4cf8cbccae
commit
bc260fff88
@ -253,9 +253,9 @@ int main(void)
|
|||||||
/* start the shell */
|
/* start the shell */
|
||||||
#ifndef MODULE_NEWLIB
|
#ifndef MODULE_NEWLIB
|
||||||
(void) posix_open(uart0_handler_pid, 0);
|
(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
|
#else
|
||||||
shell_init(&shell, NULL, SHELL_BUFSIZE, getchar, putchar);
|
shell_init(&shell, shell_commands, SHELL_BUFSIZE, getchar, putchar);
|
||||||
#endif
|
#endif
|
||||||
shell_run(&shell);
|
shell_run(&shell);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user