mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
Make current_vp static and importings from Gigabeat F/X/S lcd drivers as they don't need it anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23354 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5365cbe0a5
commit
78c956d73b
3 changed files with 0 additions and 14 deletions
|
|
@ -66,13 +66,7 @@ static struct viewport default_vp =
|
||||||
.lst_pattern = LCD_DEFAULT_BG,
|
.lst_pattern = LCD_DEFAULT_BG,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The Gigabeat target build requires access to the current fg_pattern
|
|
||||||
in lcd-meg-fx.c */
|
|
||||||
#if (!defined(TOSHIBA_GIGABEAT_F)&& !defined(TOSHIBA_GIGABEAT_S)) || defined(SIMULATOR)
|
|
||||||
static struct viewport* current_vp IDATA_ATTR = &default_vp;
|
static struct viewport* current_vp IDATA_ATTR = &default_vp;
|
||||||
#else
|
|
||||||
struct viewport* current_vp IDATA_ATTR = &default_vp;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* LCD init */
|
/* LCD init */
|
||||||
void lcd_init(void)
|
void lcd_init(void)
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,6 @@
|
||||||
static bool lcd_on = true;
|
static bool lcd_on = true;
|
||||||
static bool lcd_powered = true;
|
static bool lcd_powered = true;
|
||||||
static unsigned lcd_yuv_options = 0;
|
static unsigned lcd_yuv_options = 0;
|
||||||
/*
|
|
||||||
** This is imported from lcd-16bit.c
|
|
||||||
*/
|
|
||||||
extern struct viewport* current_vp;
|
|
||||||
|
|
||||||
/* Copies a rectangle from one framebuffer to another. Can be used in
|
/* Copies a rectangle from one framebuffer to another. Can be used in
|
||||||
single transfer mode with width = num pixels, and height = 1 which
|
single transfer mode with width = num pixels, and height = 1 which
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,6 @@ static bool lcd_on = true;
|
||||||
static bool lcd_powered = true;
|
static bool lcd_powered = true;
|
||||||
#endif
|
#endif
|
||||||
static unsigned lcd_yuv_options = 0;
|
static unsigned lcd_yuv_options = 0;
|
||||||
/*
|
|
||||||
** This is imported from lcd-16bit.c
|
|
||||||
*/
|
|
||||||
extern struct viewport* current_vp;
|
|
||||||
|
|
||||||
/* Copies a rectangle from one framebuffer to another. Can be used in
|
/* Copies a rectangle from one framebuffer to another. Can be used in
|
||||||
single transfer mode with width = num pixels, and height = 1 which
|
single transfer mode with width = num pixels, and height = 1 which
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue