From 0b6ff6660ae0c357a3baabcded8d6d9f3822ad57 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 1 Jun 2009 17:21:19 +0000 Subject: Samsung YH*: Enable RTC on all, enable lcd contrast on 925. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21157 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-yh820.h | 14 ++++++-------- firmware/export/config-yh920.h | 7 +++---- firmware/export/config-yh925.h | 9 ++++----- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/firmware/export/config-yh820.h b/firmware/export/config-yh820.h index 28c2a5883c..493c5a1c9f 100644 --- a/firmware/export/config-yh820.h +++ b/firmware/export/config-yh820.h @@ -35,6 +35,12 @@ #define LCD_PIXELFORMAT RGB565 #ifndef BOOTLOADER + +/* define this if you have a real-time clock */ +#define CONFIG_RTC RTC_E8564 +/* TODO ??? */ +//#define HAVE_RTC_ALARM + /* Define this if your LCD can be enabled/disabled */ #define HAVE_LCD_ENABLE @@ -92,14 +98,6 @@ /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC -/* define this if you have a real-time clock */ -/* todo verify rtc (or none) */ -/* #ifndef BOOTLOADER */ -#if 0 -#define CONFIG_RTC RTC_E8564 -#define HAVE_RTC_ALARM -#endif - /* define this if you have a disk storage, i.e. something that needs spinups and can cause skips when shaked */ #define HAVE_DISK_STORAGE diff --git a/firmware/export/config-yh920.h b/firmware/export/config-yh920.h index 119b293d3a..22528fdfe3 100644 --- a/firmware/export/config-yh920.h +++ b/firmware/export/config-yh920.h @@ -99,11 +99,10 @@ #define CONFIG_CODEC SWCODEC /* define this if you have a real-time clock */ -/* todo verify rtc (or none) */ -/* #ifndef BOOTLOADER */ -#if 0 +#ifndef BOOTLOADER #define CONFIG_RTC RTC_E8564 -#define HAVE_RTC_ALARM +/* TODO ??? */ +//#define HAVE_RTC_ALARM #endif /* define this if you have a disk storage, i.e. something diff --git a/firmware/export/config-yh925.h b/firmware/export/config-yh925.h index 94d79f6da4..bd15b5aa44 100644 --- a/firmware/export/config-yh925.h +++ b/firmware/export/config-yh925.h @@ -51,7 +51,7 @@ #define HAVE_BACKLIGHT /* Define this if your LCD can set contrast */ -/* todo #define HAVE_LCD_CONTRAST */ +#define HAVE_LCD_CONTRAST #define MIN_CONTRAST_SETTING 0 #define MAX_CONTRAST_SETTING 30 @@ -96,11 +96,10 @@ #define CONFIG_CODEC SWCODEC /* define this if you have a real-time clock */ -/* todo verify rtc (or none) */ -/* #ifndef BOOTLOADER */ -#if 0 +#ifndef BOOTLOADER #define CONFIG_RTC RTC_E8564 -#define HAVE_RTC_ALARM +/* TODO */ +//#define HAVE_RTC_ALARM #endif /* define this if you have a disk storage, i.e. something -- cgit v1.2.3