forked from len0rd/rockbox
For backlights that have a wide control, support skipping steps.
the rocker, x3ii, and x20 now take advantage of this, and fades are far faster now. Change-Id: Iceb1a5a6c1d1389c3fdb859b32016b5114a80a22
This commit is contained in:
parent
9ee618e889
commit
b5cb99a7bf
4 changed files with 28 additions and 3 deletions
|
@ -51,10 +51,11 @@
|
|||
#define HAVE_BACKLIGHT_BRIGHTNESS
|
||||
|
||||
/* Main LCD backlight brightness range and defaults: the backlight driver
|
||||
* has levels from 0 to 2555. But 0 is off so start at 1.
|
||||
* has levels from 0 to 255. But 0 is off so start at 1.
|
||||
*/
|
||||
#define MIN_BRIGHTNESS_SETTING 1
|
||||
#define MAX_BRIGHTNESS_SETTING 255
|
||||
#define BRIGHTNESS_STEP 5
|
||||
#define DEFAULT_BRIGHTNESS_SETTING 70
|
||||
|
||||
/* Which backlight fading type? */
|
||||
|
|
|
@ -48,10 +48,11 @@
|
|||
#define HAVE_BACKLIGHT_BRIGHTNESS
|
||||
|
||||
/* Main LCD backlight brightness range and defaults: the backlight driver
|
||||
* has levels from 0 to 2555. But 0 is off so start at 1.
|
||||
* has levels from 0 to 255. But 0 is off so start at 1.
|
||||
*/
|
||||
#define MIN_BRIGHTNESS_SETTING 1
|
||||
#define MAX_BRIGHTNESS_SETTING 255
|
||||
#define BRIGHTNESS_STEP 5
|
||||
#define DEFAULT_BRIGHTNESS_SETTING 70
|
||||
|
||||
/* Which backlight fading type? */
|
||||
|
|
|
@ -48,10 +48,11 @@
|
|||
#define HAVE_BACKLIGHT_BRIGHTNESS
|
||||
|
||||
/* Main LCD backlight brightness range and defaults: the backlight driver
|
||||
* has levels from 0 to 2555. But 0 is off so start at 1.
|
||||
* has levels from 0 to 255. But 0 is off so start at 1.
|
||||
*/
|
||||
#define MIN_BRIGHTNESS_SETTING 1
|
||||
#define MAX_BRIGHTNESS_SETTING 255
|
||||
#define BRIGHTNESS_STEP 5
|
||||
#define DEFAULT_BRIGHTNESS_SETTING 70
|
||||
|
||||
/* Which backlight fading type? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue