From f94045f28103beaaf2bfd2d4ac5547ffca85e40e Mon Sep 17 00:00:00 2001 From: Jarielle Catbagan Date: Fri, 3 Jul 2015 10:54:54 -0700 Subject: BBB: xcmddcl.h/xcmdtbl.h: Remove irrelevant commands --- ports/beagleboneblack/xcmddcl.h | 20 +------------------- ports/beagleboneblack/xcmdtbl.h | 10 +--------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/ports/beagleboneblack/xcmddcl.h b/ports/beagleboneblack/xcmddcl.h index 76d5cca..644b074 100644 --- a/ports/beagleboneblack/xcmddcl.h +++ b/ports/beagleboneblack/xcmddcl.h @@ -1,5 +1,4 @@ - -/* extcmddcl.h: */ +/* xcmddcl.h: */ /* This file must exist even if it is empty because it is #included in the */ /* common file cmdtbl.c. The purpose is to keep the common comand table */ /* file (common/cmdtbl.c) from being corrupted with non-generic commands */ @@ -12,20 +11,3 @@ extern int dummycmd(); Function declaration. extern char *dummyHelp[]; Command help array declaration. */ - -extern int date(); -extern char *dateHelp[]; - -#if INCLUDE_LCD -extern int lcd_tst(); -extern char *lcd_tstHelp[]; -#endif - -//extern int i2c(); -//extern char *i2cHelp[]; - -extern int nandCmd(); -extern char *nandHelp[]; - -extern int ldatags(); -extern char *ldatagsHelp[]; diff --git a/ports/beagleboneblack/xcmdtbl.h b/ports/beagleboneblack/xcmdtbl.h index 7fb337f..120957e 100644 --- a/ports/beagleboneblack/xcmdtbl.h +++ b/ports/beagleboneblack/xcmdtbl.h @@ -1,4 +1,4 @@ -/* extcmdtbl.h: */ +/* xcmdtbl.h: */ /* This file must exist even if it is empty because it is #included in the */ /* common file cmdtbl.c. The purpose is to keep the common comand table */ /* file (common/cmdtbl.c) from being corrupted with non-generic commands */ @@ -8,11 +8,3 @@ /* For example: "dummy", dummycmd, dummyHelp, */ -//{"i2c", i2c, i2cHelp,}, -#if INCLUDE_LCD -{"lcd_tst", lcd_tst, lcd_tstHelp,}, -#endif -{"ldatags", ldatags, ldatagsHelp,}, -#if INCLUDE_NANDCMD -{"nand", nandCmd, nandHelp,}, -#endif -- cgit v1.2.3