diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-22 00:28:03 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-22 00:28:03 +0000 |
commit | 172fc967b07f59e4928db9ca331f2f7a3a383c04 (patch) | |
tree | c87f3d76efae7b84f0061336ed555d1e5a1f38c8 /firmware/export/config/sansaclipv2.h | |
parent | 2e004fd4047a03e0e57bdb02a67a85a729a3caaa (diff) | |
download | rockbox-172fc967b07f59e4928db9ca331f2f7a3a383c04.tar.gz rockbox-172fc967b07f59e4928db9ca331f2f7a3a383c04.zip |
as3525v2: RTC alarm
A specific poweroff function needs to be used for wake-up to work
Disable RTC in bootloaders for consistency with other Sansas
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/sansaclipv2.h')
-rw-r--r-- | firmware/export/config/sansaclipv2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h index 262ed36167..3ae09b7003 100644 --- a/firmware/export/config/sansaclipv2.h +++ b/firmware/export/config/sansaclipv2.h | |||
@@ -97,9 +97,12 @@ | |||
97 | #define HAVE_AS3514 | 97 | #define HAVE_AS3514 |
98 | #define HAVE_AS3543 | 98 | #define HAVE_AS3543 |
99 | 99 | ||
100 | /* define this if you have a real-time clock */ | ||
101 | #ifndef BOOTLOADER | 100 | #ifndef BOOTLOADER |
101 | /* define this if you have a real-time clock */ | ||
102 | #define CONFIG_RTC RTC_AS3514 | 102 | #define CONFIG_RTC RTC_AS3514 |
103 | |||
104 | /* Define if the device can wake from an RTC alarm */ | ||
105 | #define HAVE_RTC_ALARM | ||
103 | #endif | 106 | #endif |
104 | 107 | ||
105 | /* Define this if you have a software controlled poweroff */ | 108 | /* Define this if you have a software controlled poweroff */ |