mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -92,5 +92,5 @@ static void cmd_writespeed(int argc, char *argv[])
|
||||
}
|
||||
writespeed(filename, length, block_size);
|
||||
}
|
||||
FINSH_FUNCTION_EXPORT_ALIAS(cmd_writespeed, __cmd_writespeed, test file system write speed);
|
||||
MSH_CMD_EXPORT_ALIAS(cmd_writespeed, writespeed, test file system write speed);
|
||||
#endif /* RT_USING_FINSH */
|
||||
|
||||
Reference in New Issue
Block a user