diff options
Diffstat (limited to 'test/mutex.c')
-rw-r--r-- | test/mutex.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/mutex.c b/test/mutex.c index 47f7fa97c4..bc20062d89 100644 --- a/test/mutex.c +++ b/test/mutex.c @@ -114,9 +114,14 @@ int mutex_main_task(void *unused) return EC_SUCCESS; } -static int command_run_test(int argc, char **argv) +void run_test(void) { task_wake(TASK_ID_MTX1); +} + +static int command_run_test(int argc, char **argv) +{ + run_test(); return EC_SUCCESS; } DECLARE_CONSOLE_COMMAND(runtest, command_run_test, |