diff options
| author | Bernard Xiong <[email protected]> | 2021-05-12 09:01:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-12 09:01:47 +0800 |
| commit | 1c823b3fc07111e3ce46d09574ff9bcda87a4d7f (patch) | |
| tree | bd51cdf6b42d1624b4a17055e5f6a576dfac5674 /components/drivers/include | |
| parent | 5102c32b2697ed9d622276e3292dde8aa43cf5ec (diff) | |
| parent | 7e7066f74183a43e738a19aa2c567f6fa5f4b628 (diff) | |
Merge pull request #4669 from mysterywolf/rtc_pre
[rtc] 将RTC框架内的NTP部分移除
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/drivers/rtc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/drivers/include/drivers/rtc.h b/components/drivers/include/drivers/rtc.h index 4845937113..a9e1c17a9d 100644 --- a/components/drivers/include/drivers/rtc.h +++ b/components/drivers/include/drivers/rtc.h @@ -11,10 +11,9 @@ #ifndef __RTC_H__ #define __RTC_H__ +#include <rtconfig.h> + rt_err_t set_date(rt_uint32_t year, rt_uint32_t month, rt_uint32_t day); rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second); -int rt_soft_rtc_init(void); -int rt_rtc_ntp_sync_init(void); - #endif /* __RTC_H__ */ |
