forked from len0rd/rockbox
remove runtime detection of h1x0 series RTC MOD, but leave driver code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
909b9462da
commit
ae08eeb4ff
11 changed files with 11 additions and 120 deletions
|
@ -20,7 +20,8 @@
|
|||
#define _RTC_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
#include "config.h"
|
||||
|
||||
#ifdef CONFIG_RTC
|
||||
|
||||
|
@ -28,10 +29,6 @@ extern const int dayname[];
|
|||
|
||||
extern const int monthname[];
|
||||
|
||||
#if CONFIG_RTC == RTC_DS1339_DS3231
|
||||
extern bool rtc_detected;
|
||||
#endif
|
||||
|
||||
/* Common functions for all targets */
|
||||
void rtc_init(void);
|
||||
int rtc_read_datetime(unsigned char* buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue