Removed debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2880 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
63f0b5ec3a
commit
0281125c98
1 changed files with 0 additions and 6 deletions
|
@ -35,12 +35,6 @@ struct tm *get_time(void)
|
|||
buffer to match the data sheet */
|
||||
rtc_read_multiple(1, &rtcbuf[1], 7);
|
||||
|
||||
for(i = 0;i < 7;i++)
|
||||
{
|
||||
DEBUGF("%02x ", rtcbuf[i]);
|
||||
}
|
||||
DEBUGF("\n");
|
||||
|
||||
tm.tm_sec = ((rtcbuf[1] & 0x70) >> 4) * 10 + (rtcbuf[1] & 0x0f);
|
||||
tm.tm_min = ((rtcbuf[2] & 0x70) >> 4) * 10 + (rtcbuf[2] & 0x0f);
|
||||
tm.tm_hour = ((rtcbuf[3] & 0x30) >> 4) * 10 + (rtcbuf[3] & 0x0f);
|
||||
|
|
Loading…
Reference in a new issue