diff options
Diffstat (limited to 'app/test/test_alarm.c')
-rw-r--r-- | app/test/test_alarm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index d83591c9..ecb2f6d4 100644 --- a/app/test/test_alarm.c +++ b/app/test/test_alarm.c @@ -253,8 +253,4 @@ test_alarm(void) return 0; } -static struct test_command alarm_cmd = { - .command = "alarm_autotest", - .callback = test_alarm, -}; -REGISTER_TEST_COMMAND(alarm_cmd); +REGISTER_TEST_COMMAND(alarm_autotest, test_alarm); |