summaryrefslogtreecommitdiffstats
path: root/app/test/test_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_timer.c')
-rw-r--r--app/test/test_timer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index bc07925e..2f6525a5 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -626,8 +626,4 @@ test_timer(void)
return TEST_SUCCESS;
}
-static struct test_command timer_cmd = {
- .command = "timer_autotest",
- .callback = test_timer,
-};
-REGISTER_TEST_COMMAND(timer_cmd);
+REGISTER_TEST_COMMAND(timer_autotest, test_timer);