summaryrefslogtreecommitdiff
path: root/examples/file/readspeed.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/readspeed.c
parent8e7ed7e1bb9c263390dc13b8e07686b9070c9d53 (diff)
parente18d44940f966b1c132bf242786c62e2b6e57b7a (diff)
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
Diffstat (limited to 'examples/file/readspeed.c')
-rw-r--r--examples/file/readspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/file/readspeed.c b/examples/file/readspeed.c
index 61b1a8a696..5f4cad3190 100644
--- a/examples/file/readspeed.c
+++ b/examples/file/readspeed.c
@@ -81,5 +81,5 @@ 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);
+MSH_CMD_EXPORT_ALIAS(cmd_readspeed, readspeed, test file system read speed);
#endif /* RT_USING_FINSH */