forked from len0rd/rockbox
Enabled RTC and virtual disk LED on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9380 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9da65356d
commit
b60ad8a95e
2 changed files with 8 additions and 0 deletions
|
@ -74,7 +74,9 @@ wormlet.c
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_RTC
|
#ifdef CONFIG_RTC
|
||||||
|
#if CONFIG_KEYPAD != IAUDIO_X5_PAD
|
||||||
clock.c
|
clock.c
|
||||||
|
#endif
|
||||||
#if CONFIG_KEYPAD == RECORDER_PAD /* Recorder models only for now */
|
#if CONFIG_KEYPAD == RECORDER_PAD /* Recorder models only for now */
|
||||||
calendar.c
|
calendar.c
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -73,11 +73,17 @@
|
||||||
/* Type of mobile power */
|
/* Type of mobile power */
|
||||||
#define CONFIG_BATTERY BATT_LIPOL1300
|
#define CONFIG_BATTERY BATT_LIPOL1300
|
||||||
|
|
||||||
|
/* define this if you have a real-time clock */
|
||||||
|
#define CONFIG_RTC RTC_PCF50606
|
||||||
|
|
||||||
#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */
|
#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */
|
||||||
|
|
||||||
/* Define this if you have ATA power-off control */
|
/* Define this if you have ATA power-off control */
|
||||||
#define HAVE_ATA_POWER_OFF
|
#define HAVE_ATA_POWER_OFF
|
||||||
|
|
||||||
|
/* Virtual LED (icon) */
|
||||||
|
#define CONFIG_LED LED_VIRTUAL
|
||||||
|
|
||||||
/* Offset ( in the firmware file's header ) to the file CRC */
|
/* Offset ( in the firmware file's header ) to the file CRC */
|
||||||
#define FIRMWARE_OFFSET_FILE_CRC 0
|
#define FIRMWARE_OFFSET_FILE_CRC 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue