From 9b83c6c4bddca41411d31b8aab17ecc577b37eb4 Mon Sep 17 00:00:00 2001 From: Hristo Kovachev Date: Thu, 22 Dec 2005 10:43:36 +0000 Subject: Patch No 1387627 by Peter D'Hoye: Backlight Brightness setting for H300 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8280 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/backlight.h | 4 ++++ firmware/export/config-h300.h | 2 ++ firmware/export/pcf50606.h | 1 + 3 files changed, 7 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 9c3f5aa90b..f4c62a2028 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -49,3 +49,7 @@ void sim_backlight(int value); void sim_remote_backlight(int value); #endif #endif + +#ifdef HAVE_BACKLIGHT_BRIGHTNESS +void backlight_set_brightness(int val); +#endif diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index 20e27c505b..54a2ef543f 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h @@ -100,4 +100,6 @@ #define BOOTFILE_EXT "iriver" #define BOOTFILE "rockbox." BOOTFILE_EXT +#define HAVE_BACKLIGHT_BRIGHTNESS + #endif diff --git a/firmware/export/pcf50606.h b/firmware/export/pcf50606.h index fd180bfaee..daacbac725 100644 --- a/firmware/export/pcf50606.h +++ b/firmware/export/pcf50606.h @@ -25,6 +25,7 @@ int pcf50606_write_multiple(int address, const unsigned char* buf, int count); int pcf50606_write(int address, unsigned char val); int pcf50606_read_multiple(int address, unsigned char* buf, int count); int pcf50606_read(int address); +void pcf50606_set_bl_pwm(unsigned char ucVal); #endif #endif -- cgit v1.2.3