diff --git a/tests/periph_i2c/main.c b/tests/periph_i2c/main.c index 8413d876f6..714be61ffc 100644 --- a/tests/periph_i2c/main.c +++ b/tests/periph_i2c/main.c @@ -319,9 +319,9 @@ int main(void) /* prepare I/O for shell */ board_uart0_init(); (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 /* define own shell commands */