diff options
| author | Meco Man <[email protected]> | 2021-05-06 23:47:33 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-05-06 23:47:33 +0800 |
| commit | 43e9aec85e560e50b1bbefa300c50b34d1268ab5 (patch) | |
| tree | 5a54b9804fff300dba5a9a916a9ac05b392bc5f1 /components/drivers/rtc/soft_rtc.c | |
| parent | f982d813892971a7e9ba75ace7061805cd8f2458 (diff) | |
将rt_soft_rtc_init设为私有函数
Diffstat (limited to 'components/drivers/rtc/soft_rtc.c')
| -rw-r--r-- | components/drivers/rtc/soft_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/soft_rtc.c b/components/drivers/rtc/soft_rtc.c index 9e1b7c35fd..255579f35e 100644 --- a/components/drivers/rtc/soft_rtc.c +++ b/components/drivers/rtc/soft_rtc.c @@ -104,7 +104,7 @@ const static struct rt_device_ops soft_rtc_ops = }; #endif -int rt_soft_rtc_init(void) +static int rt_soft_rtc_init(void) { static rt_bool_t init_ok = RT_FALSE; struct tm time_new = SOFT_RTC_TIME_DEFAULT; |
