diff options
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r-- | avr/command_tbl.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 97110fd..6b53fad 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -231,6 +231,13 @@ CMD_TBL_ITEM( ), #endif /* CONFIG_MX_CYCLIC */ +CMD_TBL_ITEM( + sd, CONFIG_SYS_MAXARGS, 1, do_sd, + "SD/MMC card handling commands", + "<subcommand> args ...\n" + "sd help\n" + " - print help on subcommands" +), CMD_TBL_ITEM( help, CONFIG_SYS_MAXARGS, 1, do_help, @@ -241,17 +248,6 @@ CMD_TBL_ITEM( " - print detailed usage of 'command'" ), -/* TODO: make macro CMD_TBL_ITEM work with this */ - {FSTR("sd"), CONFIG_SYS_MAXARGS, 1, do_sd, - FSTR("SD/MMC card handling commands"), -#ifdef CONFIG_SYS_LONGHELP - sd_help_text, -#endif /* CONFIG_SYS_LONGHELP */ -#ifdef CONFIG_AUTO_COMPLETE - 0, -#endif -}, - /* This does not use the CMD_TBL_ITEM macro as ? can't be used in symbol names */ {FSTR("?"), CONFIG_SYS_MAXARGS, 1, do_help, FSTR("alias for 'help'"), |