aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_timer_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_timer_perf.c')
-rw-r--r--app/test/test_timer_perf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_timer_perf.c b/app/test/test_timer_perf.c
index 3f7ddd30..fa77efbd 100644
--- a/app/test/test_timer_perf.c
+++ b/app/test/test_timer_perf.c
@@ -158,8 +158,4 @@ test_timer_perf(void)
return 0;
}
-static struct test_command timer_perf_cmd = {
- .command = "timer_perf_autotest",
- .callback = test_timer_perf,
-};
-REGISTER_TEST_COMMAND(timer_perf_cmd);
+REGISTER_TEST_COMMAND(timer_perf_autotest, test_timer_perf);