1
0
Fork 0
forked from len0rd/rockbox

Greyscale library: Put the backlight status on 1st/2nd Gen into the flags, saving a separate global.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16964 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-04-04 19:14:19 +00:00
parent 1b335ae961
commit 3183b9e534
2 changed files with 9 additions and 8 deletions

View file

@ -130,6 +130,7 @@ void grey_ub_scroll_down(int count);
/* flag definitions */
#define _GREY_RUNNING 0x8000 /* greyscale overlay is running */
#define _GREY_DEFERRED_UPDATE 0x4000 /* lcd_update() requested */
#define _GREY_BACKLIGHT_ON 0x2000 /* backlight is active - only used on 1st+2nd Gen */
/* fast unsigned multiplication (16x16bit->32bit or 32x32bit->32bit,
* whichever is faster for the architecture) */