summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2005-12-22 10:43:36 +0000
committerHristo Kovachev <bger@rockbox.org>2005-12-22 10:43:36 +0000
commit9b83c6c4bddca41411d31b8aab17ecc577b37eb4 (patch)
tree3311cff5a451e4462e02feffdfe4ddc610eeb6e5 /firmware/export
parent9d67765cae62e873c3d004bf9bcb68947f1568f6 (diff)
downloadrockbox-9b83c6c4bddca41411d31b8aab17ecc577b37eb4.zip
rockbox-9b83c6c4bddca41411d31b8aab17ecc577b37eb4.tar.gz
rockbox-9b83c6c4bddca41411d31b8aab17ecc577b37eb4.tar.bz2
rockbox-9b83c6c4bddca41411d31b8aab17ecc577b37eb4.tar.xz
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
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/backlight.h4
-rw-r--r--firmware/export/config-h300.h2
-rw-r--r--firmware/export/pcf50606.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h
index 9c3f5aa..f4c62a2 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 20e27c5..54a2ef5 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 fd180bf..daacbac 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