summaryrefslogtreecommitdiff
path: root/examples/file/readwrite.c
diff options
context:
space:
mode:
authorguo <[email protected]>2021-09-05 19:49:43 +0800
committerGitHub <[email protected]>2021-09-05 19:49:43 +0800
commit877bb072cf3c5ce1bc45e29cd79fd9f5144f22be (patch)
treee5a6488770dc6540927e47df5b8a808bd1f7e521 /examples/file/readwrite.c
parent8e7ed7e1bb9c263390dc13b8e07686b9070c9d53 (diff)
parente18d44940f966b1c132bf242786c62e2b6e57b7a (diff)
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
Diffstat (limited to 'examples/file/readwrite.c')
-rw-r--r--examples/file/readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/file/readwrite.c b/examples/file/readwrite.c
index 9b27da1b01..d1dd5bc038 100644
--- a/examples/file/readwrite.c
+++ b/examples/file/readwrite.c
@@ -162,5 +162,5 @@ static void cmd_readwrite(int argc, char *argv[])
}
readwrite(filename);
}
-FINSH_FUNCTION_EXPORT_ALIAS(cmd_readwrite, __cmd_readwrite, perform file read and write test);
+MSH_CMD_EXPORT_ALIAS(cmd_readwrite, readwrite, perform file read and write test);
#endif /* RT_USING_FINSH */