tests/periph_i2c: fix custom shell commands

This commit is contained in:
Kaspar Schleiser 2015-08-28 09:39:33 +02:00
parent 4bd830121a
commit fe61811095

View File

@ -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 */