summaryrefslogtreecommitdiffstats
path: root/app/test/test_timer_racecond.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_timer_racecond.c')
-rw-r--r--app/test/test_timer_racecond.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_timer_racecond.c b/app/test/test_timer_racecond.c
index aef32037..7824ec4b 100644
--- a/app/test/test_timer_racecond.c
+++ b/app/test/test_timer_racecond.c
@@ -202,8 +202,4 @@ test_timer_racecond(void)
return TEST_SUCCESS;
}
-static struct test_command timer_racecond_cmd = {
- .command = "timer_racecond_autotest",
- .callback = test_timer_racecond,
-};
-REGISTER_TEST_COMMAND(timer_racecond_cmd);
+REGISTER_TEST_COMMAND(timer_racecond_autotest, test_timer_racecond);