forked from len0rd/rockbox
Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0ea71be348
commit
8c800cf59a
27 changed files with 48 additions and 62 deletions
|
|
@ -46,7 +46,7 @@ bool valid_time(const struct tm *tm)
|
|||
struct tm *get_time(void)
|
||||
{
|
||||
#ifndef SIMULATOR
|
||||
#ifdef HAVE_RTC
|
||||
#ifdef CONFIG_RTC
|
||||
char rtcbuf[8];
|
||||
|
||||
/* We don't need the first byte, but we want the indexes in the
|
||||
|
|
@ -84,7 +84,7 @@ struct tm *get_time(void)
|
|||
|
||||
int set_time(const struct tm *tm)
|
||||
{
|
||||
#ifdef HAVE_RTC
|
||||
#ifdef CONFIG_RTC
|
||||
int rc;
|
||||
int tmp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue