]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/command_tbl.c
SD slot 0: Enable card detection
[z180-stamp.git] / avr / command_tbl.c
index e5c6567b667395064fb05514016893d813d6e07f..a2f99da4a04d3f4e41bc4aabe541c4a4774cb4e1 100644 (file)
@@ -1,10 +1,13 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
 
 #include "common.h"
-
 #include "command.h"
 #include "cmd_mem.h"
 
-
 extern command_ret_t do_help(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_echo(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_sleep(cmd_tbl_t *, int, int, char * const []);
@@ -27,7 +30,6 @@ extern command_ret_t do_fat_ls(cmd_tbl_t *, int, int, char * const []);
 //extern command_ret_t do_fat_read(cmd_tbl_t *, int, int, char * const []);
 //extern command_ret_t do_fat_write(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_fat_rw(cmd_tbl_t *, int, int, char * const []);
-extern command_ret_t do_testarg(cmd_tbl_t *, int, int, char * const []);
 
 #ifdef CONFIG_SYS_LONGHELP
 const FLASH char sd_help_text[] =
@@ -48,21 +50,6 @@ CMD_TBL_ITEM(
 ),
 
 #ifdef DEBUG
-CMD_TBL_ITEM(
-       test,   CONFIG_SYS_MAXARGS,     1,      do_testarg,
-       "print arguments",
-       ""
-),
-CMD_TBL_ITEM(
-       tst1,   CONFIG_SYS_MAXARGS,     1,      do_testarg,
-       "print arguments",
-       ""
-),
-CMD_TBL_ITEM(
-       tst2,   CONFIG_SYS_MAXARGS,     1,      do_testarg,
-       "print arguments",
-       ""
-),
 
 CMD_TBL_ITEM(
        !mdr,   3,      1,      do_dump_mem,