summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_jz4740.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/rtc/rtc_jz4740.c')
-rw-r--r--firmware/drivers/rtc/rtc_jz4740.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/rtc/rtc_jz4740.c b/firmware/drivers/rtc/rtc_jz4740.c
index dadc93a8e0..a1a864d27a 100644
--- a/firmware/drivers/rtc/rtc_jz4740.c
+++ b/firmware/drivers/rtc/rtc_jz4740.c
@@ -52,6 +52,7 @@ static const unsigned int sum_monthday[13] = {
365
};
+#if 0
static unsigned int jz_mktime(int year, int mon, int day, int hour, int min, int sec)
{
unsigned int seccounter;
@@ -78,6 +79,7 @@ static unsigned int jz_mktime(int year, int mon, int day, int hour, int min, int
return seccounter;
}
+#endif
static void jz_gettime(unsigned int rtc, int *year, int *mon, int *day, int *hour,
int *min, int *sec, int *weekday)