summaryrefslogtreecommitdiff
path: root/examples/file/readwrite.c
diff options
context:
space:
mode:
authorjonas <[email protected]>2021-09-02 10:36:07 +0800
committerjonas <[email protected]>2021-09-02 10:36:07 +0800
commitd72ee7b6cc19e3b0d5721b2b5fa047ed1a5fc7c4 (patch)
treeab7034a4df4cb5171a68c2236f9f831c8cd27ed0 /examples/file/readwrite.c
parentab43390fe2c0e672771b73cf610e739a419aa06f (diff)
parent8d175ab3d237dccc25450a8e12808fc87318eb2f (diff)
Merge branch 'master' of [email protected]:RT-Thread/rt-thread.git into bsp_hk32
# Conflicts: # .ignore_format.yml
Diffstat (limited to 'examples/file/readwrite.c')
-rw-r--r--examples/file/readwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/file/readwrite.c b/examples/file/readwrite.c
index 56f3b7e16c..9b27da1b01 100644
--- a/examples/file/readwrite.c
+++ b/examples/file/readwrite.c
@@ -147,7 +147,6 @@ __exit:
/* export to finsh */
FINSH_FUNCTION_EXPORT(readwrite, perform file read and write test);
-#ifdef FINSH_USING_MSH
static void cmd_readwrite(int argc, char *argv[])
{
char* filename;
@@ -164,5 +163,4 @@ static void cmd_readwrite(int argc, char *argv[])
readwrite(filename);
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_readwrite, __cmd_readwrite, perform file read and write test);
-#endif /* FINSH_USING_MSH */
#endif /* RT_USING_FINSH */