summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc.c
diff options
context:
space:
mode:
authoriysheng <[email protected]>2021-07-05 11:34:11 +0800
committeriysheng <[email protected]>2021-07-08 22:41:06 +0800
commita2a7f3c2d926388c71d0be5fca0309bfef81e523 (patch)
treebf133529b101e5dcb63ba30d130f5ec765418336 /components/drivers/rtc/rtc.c
parent2fda55d898826a1ee79babc4e0852ce539a3bff4 (diff)
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
Diffstat (limited to 'components/drivers/rtc/rtc.c')
-rw-r--r--components/drivers/rtc/rtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index 98b60f9f95..2b9397da90 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -14,6 +14,7 @@
#include <sys/time.h>
#include <string.h>
#include <rtthread.h>
+#include <drivers/rtc.h>
#ifdef RT_USING_RTC