diff options
| author | 马志远 <[email protected]> | 2021-08-23 17:30:05 +0800 |
|---|---|---|
| committer | 马志远 <[email protected]> | 2021-08-23 17:30:05 +0800 |
| commit | 221da7f464d811955acce96280332d95348fb24f (patch) | |
| tree | 76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /components/drivers/rtc/rtc.c | |
| parent | a280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff) | |
Remove C Style Command Shell
Diffstat (limited to 'components/drivers/rtc/rtc.c')
| -rw-r--r-- | components/drivers/rtc/rtc.c | 4 |
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 */ |
