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