forked from len0rd/rockbox
Removed dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7048 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d7f9439353
commit
8d3855eb53
1 changed files with 0 additions and 8 deletions
|
|
@ -836,16 +836,8 @@ static bool battery_type(void)
|
|||
static bool timedate_set(void)
|
||||
{
|
||||
struct tm tm;
|
||||
int timedate[8];
|
||||
bool result;
|
||||
|
||||
timedate[0] = rtc_read(0x03); /* hour */
|
||||
timedate[1] = rtc_read(0x02); /* minute */
|
||||
timedate[2] = rtc_read(0x01); /* second */
|
||||
timedate[3] = rtc_read(0x07); /* year */
|
||||
timedate[4] = rtc_read(0x06); /* month */
|
||||
timedate[5] = rtc_read(0x05); /* day */
|
||||
|
||||
/* Make a local copy of the time struct */
|
||||
memcpy(&tm, get_time(), sizeof(struct tm));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue