summaryrefslogtreecommitdiff
path: root/firmware/export/rtc.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /firmware/export/rtc.h
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'firmware/export/rtc.h')
-rw-r--r--firmware/export/rtc.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/export/rtc.h b/firmware/export/rtc.h
index 216de87dea..a668c9c729 100644
--- a/firmware/export/rtc.h
+++ b/firmware/export/rtc.h
@@ -38,16 +38,6 @@ void rtc_init(void);
38int rtc_read_datetime(struct tm *tm); 38int rtc_read_datetime(struct tm *tm);
39int rtc_write_datetime(const struct tm *tm); 39int rtc_write_datetime(const struct tm *tm);
40 40
41#if CONFIG_RTC == RTC_M41ST84W
42
43/* The RTC in the Archos devices is used for much more than just the clock
44 data */
45int rtc_read(unsigned char address);
46int rtc_read_multiple(unsigned char address, unsigned char *buf, int numbytes);
47int rtc_write(unsigned char address, unsigned char value);
48
49#endif /* RTC_M41ST84W */
50
51#ifdef HAVE_RTC_ALARM 41#ifdef HAVE_RTC_ALARM
52void rtc_set_alarm(int h, int m); 42void rtc_set_alarm(int h, int m);
53void rtc_get_alarm(int *h, int *m); 43void rtc_get_alarm(int *h, int *m);