diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-09-26 15:15:06 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-09-26 15:15:06 +0000 |
commit | e6fbdfc10f44ad5773e27d1cb515179a86028ccb (patch) | |
tree | 5634b827670447b4a255bc01c747cb95b39b5278 /firmware/drivers/rtc | |
parent | c8b87d76eb506d374edd2631d4c29e4300be84c4 (diff) | |
download | rockbox-e6fbdfc10f44ad5773e27d1cb515179a86028ccb.tar.gz rockbox-e6fbdfc10f44ad5773e27d1cb515179a86028ccb.zip |
Add missing parentheses to fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/rtc')
-rw-r--r-- | firmware/drivers/rtc/rtc_m41st84w.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/rtc/rtc_m41st84w.c b/firmware/drivers/rtc/rtc_m41st84w.c index 2627191252..eca61c7f0f 100644 --- a/firmware/drivers/rtc/rtc_m41st84w.c +++ b/firmware/drivers/rtc/rtc_m41st84w.c | |||
@@ -111,8 +111,8 @@ void rtc_set_alarm(int h, int m) | |||
111 | /* for daily alarm, RPT5=RPT4=on, RPT1=RPT2=RPT3=off */ | 111 | /* for daily alarm, RPT5=RPT4=on, RPT1=RPT2=RPT3=off */ |
112 | 112 | ||
113 | rtc_write(0x0e, 0x00); /* seconds 0 and RTP1 */ | 113 | rtc_write(0x0e, 0x00); /* seconds 0 and RTP1 */ |
114 | rtc_write(0x0d, DEC2BCD(m); /* minutes and RPT2 */ | 114 | rtc_write(0x0d, DEC2BCD(m)); /* minutes and RPT2 */ |
115 | rtc_write(0x0c, DEC2BCD(h); /* hour and RPT3 */ | 115 | rtc_write(0x0c, DEC2BCD(h)); /* hour and RPT3 */ |
116 | rtc_write(0x0b, 0xc1); /* set date 01 and RPT4 and RTP5 */ | 116 | rtc_write(0x0b, 0xc1); /* set date 01 and RPT4 and RTP5 */ |
117 | 117 | ||
118 | /* set month to 1, if it's invalid, the rtc does an alarm every second instead */ | 118 | /* set month to 1, if it's invalid, the rtc does an alarm every second instead */ |