summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc.c
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-08-25 19:03:52 +0800
committerGitHub <[email protected]>2021-08-25 19:03:52 +0800
commitbd44c1e5900cae054aebdec1439a11c9258ebaa6 (patch)
tree09007f0b2592ef459a07368a2b63cc17fe6129be /components/drivers/rtc/rtc.c
parentf3df67d5f3bcca1d4259306fcd0e9396e6d08627 (diff)
parent782c288db624da2c818f693b409aacf1b23dd010 (diff)
Merge pull request #4970 from cndabai/master
Remove C Style Command Shell
Diffstat (limited to 'components/drivers/rtc/rtc.c')
-rw-r--r--components/drivers/rtc/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index 5eabeed2dd..35e7ddc3c4 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -218,7 +218,7 @@ rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second)
return ret;
}
-#ifdef FINSH_USING_MSH
+#ifdef RT_USING_FINSH
#include <finsh.h>
/**
* get date and time or set (local timezone) [year month day hour min sec]
@@ -283,6 +283,6 @@ static void date(uint8_t argc, char **argv)
}
}
MSH_CMD_EXPORT(date, get date and time or set (local timezone) [year month day hour min sec])
-#endif /* FINSH_USING_MSH */
+#endif /* RT_USING_FINSH */
#endif /* RT_USING_RTC */