1
0
Fork 0
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:
Linus Nielsen Feltzing 2005-07-07 05:43:49 +00:00
parent d7f9439353
commit 8d3855eb53

View file

@ -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));