mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Fix r31311 red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31312 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62facd1ff2
commit
71bb87e3fc
5 changed files with 10 additions and 1 deletions
|
|
@ -791,7 +791,6 @@ target/sh/archos/ondio/fmradio_i2c-ondio.c
|
||||||
#endif /* ARCHOS_ONDIOFM || ARCHOS_ONDIOFM */
|
#endif /* ARCHOS_ONDIOFM || ARCHOS_ONDIOFM */
|
||||||
|
|
||||||
#if defined(SANSA_E200) || defined(SANSA_C200)
|
#if defined(SANSA_E200) || defined(SANSA_C200)
|
||||||
drivers/lcd-memframe.c
|
|
||||||
target/arm/ata-sd-pp.c
|
target/arm/ata-sd-pp.c
|
||||||
target/arm/i2s-pp.c
|
target/arm/i2s-pp.c
|
||||||
target/arm/usb-fw-pp502x.c
|
target/arm/usb-fw-pp502x.c
|
||||||
|
|
@ -803,6 +802,7 @@ target/arm/sandisk/audio-c200_e200.c
|
||||||
#endif /* SANSA_E200 || SANSA_C200 */
|
#endif /* SANSA_E200 || SANSA_C200 */
|
||||||
|
|
||||||
#ifdef SANSA_E200
|
#ifdef SANSA_E200
|
||||||
|
drivers/lcd-memframe.c
|
||||||
target/arm/lcd-as-memframe.S
|
target/arm/lcd-as-memframe.S
|
||||||
target/arm/sandisk/sansa-e200/lcd-e200.c
|
target/arm/sandisk/sansa-e200/lcd-e200.c
|
||||||
target/arm/sandisk/sansa-e200/button-e200.c
|
target/arm/sandisk/sansa-e200/button-e200.c
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,11 @@
|
||||||
|
|
||||||
/*** Misc. functions ***/
|
/*** Misc. functions ***/
|
||||||
|
|
||||||
|
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||||
static bool lcd_on SHAREDBSS_ATTR = false; /* Is the display turned on? */
|
static bool lcd_on SHAREDBSS_ATTR = false; /* Is the display turned on? */
|
||||||
|
#else
|
||||||
|
static bool lcd_on SHAREDBSS_ATTR = true; /* Is the display turned on? */
|
||||||
|
#endif
|
||||||
|
|
||||||
bool lcd_active(void)
|
bool lcd_active(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,9 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
#ifdef BOOTLOADER
|
||||||
|
#include <string.h> /* memset */
|
||||||
|
#endif
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-target.h"
|
#include "lcd-target.h"
|
||||||
|
|
||||||
|
extern bool lcd_active(void);
|
||||||
extern void lcd_set_active(bool active);
|
extern void lcd_set_active(bool active);
|
||||||
|
|
||||||
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-target.h"
|
#include "lcd-target.h"
|
||||||
|
|
||||||
|
extern bool lcd_active(void);
|
||||||
extern void lcd_set_active(bool active);
|
extern void lcd_set_active(bool active);
|
||||||
|
|
||||||
/* Power and display status */
|
/* Power and display status */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue