summaryrefslogtreecommitdiffstats
path: root/app/test/test_cycles.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_cycles.c')
-rw-r--r--app/test/test_cycles.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_cycles.c b/app/test/test_cycles.c
index d8fa5171..f6c043a4 100644
--- a/app/test/test_cycles.c
+++ b/app/test/test_cycles.c
@@ -89,8 +89,4 @@ test_cycles(void)
return 0;
}
-static struct test_command cycles_cmd = {
- .command = "cycles_autotest",
- .callback = test_cycles,
-};
-REGISTER_TEST_COMMAND(cycles_cmd);
+REGISTER_TEST_COMMAND(cycles_autotest, test_cycles);