summaryrefslogtreecommitdiffstats
path: root/app/test/test_meter.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_meter.c')
-rw-r--r--app/test/test_meter.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index bc76391f..26b05657 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -494,8 +494,4 @@ test_meter(void)
}
-static struct test_command meter_cmd = {
- .command = "meter_autotest",
- .callback = test_meter,
-};
-REGISTER_TEST_COMMAND(meter_cmd);
+REGISTER_TEST_COMMAND(meter_autotest, test_meter);