mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/shell: add command with empty output
This commit is contained in:
parent
271d1ae3a2
commit
bd96e4b400
@ -87,11 +87,19 @@ static int print_shell_bufsize(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int print_empty(int argc, char **argv)
|
||||
{
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const shell_command_t shell_commands[] = {
|
||||
{ "bufsize", "Get the shell's buffer size", print_shell_bufsize },
|
||||
{ "start_test", "starts a test", print_teststart },
|
||||
{ "end_test", "ends a test", print_testend },
|
||||
{ "echo", "prints the input command", print_echo },
|
||||
{ "empty", "print nothing on command", print_empty },
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user