summaryrefslogtreecommitdiff
path: root/examples/file/readspeed.c
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-08-25 19:03:52 +0800
committerGitHub <[email protected]>2021-08-25 19:03:52 +0800
commitbd44c1e5900cae054aebdec1439a11c9258ebaa6 (patch)
tree09007f0b2592ef459a07368a2b63cc17fe6129be /examples/file/readspeed.c
parentf3df67d5f3bcca1d4259306fcd0e9396e6d08627 (diff)
parent782c288db624da2c818f693b409aacf1b23dd010 (diff)
Merge pull request #4970 from cndabai/master
Remove C Style Command Shell
Diffstat (limited to 'examples/file/readspeed.c')
-rw-r--r--examples/file/readspeed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/file/readspeed.c b/examples/file/readspeed.c
index ffc19635cf..61b1a8a696 100644
--- a/examples/file/readspeed.c
+++ b/examples/file/readspeed.c
@@ -58,7 +58,6 @@ void readspeed(const char* filename, int block_size)
#include <finsh.h>
FINSH_FUNCTION_EXPORT(readspeed, perform file read test);
-#ifdef FINSH_USING_MSH
static void cmd_readspeed(int argc, char *argv[])
{
char* filename;
@@ -83,5 +82,4 @@ static void cmd_readspeed(int argc, char *argv[])
readspeed(filename, block_size);
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_readspeed, __cmd_readspeed, test file system read speed);
-#endif /* FINSH_USING_MSH */
#endif /* RT_USING_FINSH */