diff options
Diffstat (limited to 'test/pingpong.c')
-rw-r--r-- | test/pingpong.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/pingpong.c b/test/pingpong.c index f9266da26e..4cf5d53ced 100644 --- a/test/pingpong.c +++ b/test/pingpong.c @@ -58,10 +58,15 @@ int TaskTick(void *data) return EC_SUCCESS; } -static int command_run_test(int argc, char **argv) +void run_test(void) { task_wake(TASK_ID_TICK); task_wake(TASK_ID_TESTA); +} + +static int command_run_test(int argc, char **argv) +{ + run_test(); return EC_SUCCESS; } DECLARE_CONSOLE_COMMAND(runtest, command_run_test, |