[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    nls: r22840 - trunk/firmware/drivers/rtc
From:       mailer () svn ! rockbox ! org
Date:       2009-09-26 15:15:06
Message-ID: 200909261515.n8QFF6NH017262 () giant ! haxx ! se
[Download RAW message or body]

Date: 2009-09-26 17:15:06 +0200 (Sat, 26 Sep 2009)
New Revision: 22840

Log Message:
Add missing parentheses to fix red

Modified:
   trunk/firmware/drivers/rtc/rtc_m41st84w.c

Modified: trunk/firmware/drivers/rtc/rtc_m41st84w.c
===================================================================
--- trunk/firmware/drivers/rtc/rtc_m41st84w.c	2009-09-26 14:58:32 UTC (rev 22839)
+++ trunk/firmware/drivers/rtc/rtc_m41st84w.c	2009-09-26 15:15:06 UTC (rev 22840)
@@ -111,8 +111,8 @@
     /* for daily alarm, RPT5=RPT4=on, RPT1=RPT2=RPT3=off */
     
     rtc_write(0x0e, 0x00);      /* seconds 0 and RTP1 */
-    rtc_write(0x0d, DEC2BCD(m); /* minutes and RPT2 */
-    rtc_write(0x0c, DEC2BCD(h); /* hour and RPT3 */
+    rtc_write(0x0d, DEC2BCD(m)); /* minutes and RPT2 */
+    rtc_write(0x0c, DEC2BCD(h)); /* hour and RPT3 */
     rtc_write(0x0b, 0xc1);      /* set date 01 and RPT4 and RTP5 */
     
     /* set month to 1, if it's invalid, the rtc does an alarm every second instead */

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic