Skip to content
Snippets Groups Projects
Commit 012264cb authored by Vincent Dupont's avatar Vincent Dupont
Browse files

shell/sc_rtc: remove rtc init command

parent e2c358ee
Branches
No related tags found
No related merge requests found
...@@ -139,7 +139,6 @@ static int _rtc_usage(void) ...@@ -139,7 +139,6 @@ static int _rtc_usage(void)
{ {
puts("usage: rtc <command> [arguments]"); puts("usage: rtc <command> [arguments]");
puts("commands:"); puts("commands:");
puts("\tinit\t\tinitialize the interface");
puts("\tpoweron\t\tpower the interface on"); puts("\tpoweron\t\tpower the interface on");
puts("\tpoweroff\tpower the interface off"); puts("\tpoweroff\tpower the interface off");
puts("\tclearalarm\tdeactivate the current alarm"); puts("\tclearalarm\tdeactivate the current alarm");
...@@ -156,9 +155,6 @@ int _rtc_handler(int argc, char **argv) ...@@ -156,9 +155,6 @@ int _rtc_handler(int argc, char **argv)
_rtc_usage(); _rtc_usage();
return 1; return 1;
} }
else if (strncmp(argv[1], "init", 4) == 0) {
rtc_init();
}
else if (strncmp(argv[1], "poweron", 7) == 0) { else if (strncmp(argv[1], "poweron", 7) == 0) {
rtc_poweron(); rtc_poweron();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment