summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 01:30:09 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 01:30:09 +0000
commit00ce880da779699d86159ab2eaea2474e9a2b151 (patch)
treeca77a644ac3fbd02434b38aa17fc86b67df77047 /firmware
parentcf59a4fc1d21c2a1d6cfc019f97268275d4a8581 (diff)
downloadrockbox-00ce880da779699d86159ab2eaea2474e9a2b151.tar.gz
rockbox-00ce880da779699d86159ab2eaea2474e9a2b151.zip
Removed the settings #defines from backlight.h since they are now in the players' config files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11489 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/backlight.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h
index 6875768f0c..1cd6c47f36 100644
--- a/firmware/export/backlight.h
+++ b/firmware/export/backlight.h
@@ -77,18 +77,6 @@ void sim_remote_backlight(int value);
77#endif 77#endif
78 78
79#ifdef HAVE_BACKLIGHT_BRIGHTNESS 79#ifdef HAVE_BACKLIGHT_BRIGHTNESS
80
81#ifdef IAUDIO_X5
82/* PFC50506 can output 0%-100% duty cycle but D305A expects %15-100%. */
83#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */
84#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */
85#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */
86#else
87#define MIN_BRIGHTNESS_SETTING 2 /* 2/16 (12.50%) */
88#define MAX_BRIGHTNESS_SETTING 15 /* 15/16 (93.75%) */
89#define DEFAULT_BRIGHTNESS_SETTING 9 /* 9/16 (56.25%) */
90#endif
91
92void backlight_set_brightness(int val); 80void backlight_set_brightness(int val);
93#endif /* HAVE_BACKLIGHT_BRIGHTNESS */ 81#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
94 82