mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
tests/periph_i2c: fix custom shell commands
This commit is contained in:
parent
4bd830121a
commit
fe61811095
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user