From 5d6cb1ef99325493b77c422fe8e6d152bf331796 Mon Sep 17 00:00:00 2001 From: iysheng Date: Tue, 28 Jul 2020 09:12:47 +0800 Subject: [PATCH 1/2] [fix][dfs] description of the function return comment --- components/dfs/src/dfs_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c index 91d39597f0..1ed317002f 100644 --- a/components/dfs/src/dfs_file.c +++ b/components/dfs/src/dfs_file.c @@ -234,7 +234,7 @@ int dfs_file_getdents(struct dfs_fd *fd, struct dirent *dirp, size_t nbytes) * * @param path the specified path file to be unlinked. * - * @return 0 on successful, -1 on failed. + * @return 0 on successful, others on failed. */ int dfs_file_unlink(const char *path) { -- Gitee From f07288c14f75d889dd03df3395341dca7a10d14c Mon Sep 17 00:00:00 2001 From: iysheng Date: Thu, 30 Jul 2020 15:02:26 +0800 Subject: [PATCH 2/2] [update] Add compile time print from console --- src/kservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kservice.c b/src/kservice.c index 1705ce5283..5d2425d5dd 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -536,8 +536,8 @@ void rt_show_version(void) { rt_kprintf("\n \\ | /\n"); rt_kprintf("- RT - Thread Operating System\n"); - rt_kprintf(" / | \\ %d.%d.%d build %s\n", - RT_VERSION, RT_SUBVERSION, RT_REVISION, __DATE__); + rt_kprintf(" / | \\ %d.%d.%d build %s %s\n", + RT_VERSION, RT_SUBVERSION, RT_REVISION, __DATE__, __TIME__); rt_kprintf(" 2006 - 2020 Copyright by rt-thread team\n"); } RTM_EXPORT(rt_show_version); -- Gitee