diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-16 06:21:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-16 06:21:11 +0000 |
commit | cda664b701dcd97c3a05ff1a5fdcfb88f9524761 (patch) | |
tree | 05ffd1c395d145365fd73064d2cb25d9e3c836ad /firmware/drivers/rtc | |
parent | 16c8f060e6ec444f9af2d41f73543f2e92a016ca (diff) |
MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/rtc')
-rw-r--r-- | firmware/drivers/rtc/rtc_mc13783.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/rtc/rtc_mc13783.c b/firmware/drivers/rtc/rtc_mc13783.c index 9f922a10a6..9d2c50cf11 100644 --- a/firmware/drivers/rtc/rtc_mc13783.c +++ b/firmware/drivers/rtc/rtc_mc13783.c @@ -254,9 +254,9 @@ bool rtc_check_alarm_flag(void) bool rtc_enable_alarm(bool enable) { if (enable) - mc13783_clear(MC13783_INTERRUPT_MASK1, MC13783_TODA); + mc13783_clear(MC13783_INTERRUPT_MASK1, MC13783_TODAM); else - mc13783_set(MC13783_INTERRUPT_MASK1, MC13783_TODA); + mc13783_set(MC13783_INTERRUPT_MASK1, MC13783_TODAM); return false; } |