Fixed FS#7849
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fd1e1b7706
commit
7697609455
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ int set_time(const struct tm *tm)
|
|||
|
||||
rc = rtc_write_datetime(rtcbuf);
|
||||
|
||||
if(rc)
|
||||
if (rc < 0)
|
||||
return -1;
|
||||
else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue