Skip to content
Snippets Groups Projects
Commit 02945e22 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

* fixed for new shell_command_t layout

parent 450b9cc5
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,9 @@ void shell_putchar(int c) { ...@@ -29,9 +29,9 @@ void shell_putchar(int c) {
} }
const shell_command_t shell_commands[] = { const shell_command_t shell_commands[] = {
{"start_test", print_teststart}, {"start_test", "", print_teststart},
{"end_test", print_testend}, {"end_test", "", print_testend},
{NULL, NULL} {NULL, NULL, NULL}
}; };
int main(void) { int main(void) {
......
...@@ -32,11 +32,11 @@ void mutex_trylock_fail(char* cmdline); ...@@ -32,11 +32,11 @@ void mutex_trylock_fail(char* cmdline);
void test_thread_sleep(char* line); void test_thread_sleep(char* line);
const shell_command_t shell_commands[] = { const shell_command_t shell_commands[] = {
{"start_test", print_teststart}, {"start_test", "", print_teststart},
{"end_test", print_testend}, {"end_test", "", print_testend},
{"mutex_trylock_fail", mutex_trylock_fail}, {"mutex_trylock_fail", "", mutex_trylock_fail},
{"thread_sleep", test_thread_sleep}, {"thread_sleep", "", test_thread_sleep},
{NULL, NULL} {NULL, NULL, NULL}
}; };
int main(void) { int main(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment