diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-31 08:40:00 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-31 08:40:00 +0000 |
| commit | b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05 (patch) | |
| tree | 52c1dc2d97f8172f544989e0aaf776b82e5d1397 | |
| parent | e9da65356d36e6f12627afeb315b270f8c07248b (diff) | |
| download | rockbox-b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05.zip rockbox-b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05.tar.gz rockbox-b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05.tar.bz2 rockbox-b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05.tar.xz | |
Enabled RTC and virtual disk LED on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9380 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugins/SOURCES | 2 | ||||
| -rw-r--r-- | firmware/export/config-iaudiox5.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index a07d92b..70edca4 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -74,7 +74,9 @@ wormlet.c #endif #ifdef CONFIG_RTC +#if CONFIG_KEYPAD != IAUDIO_X5_PAD clock.c +#endif #if CONFIG_KEYPAD == RECORDER_PAD /* Recorder models only for now */ calendar.c #endif diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index a8456bc..c4e7e50 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -73,11 +73,17 @@ /* Type of mobile power */ #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 this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF +/* Virtual LED (icon) */ +#define CONFIG_LED LED_VIRTUAL + /* Offset ( in the firmware file's header ) to the file CRC */ #define FIRMWARE_OFFSET_FILE_CRC 0 |