summaryrefslogtreecommitdiff
path: root/examples/file/readspeed.c
diff options
context:
space:
mode:
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 */