1
0
Fork 0
forked from len0rd/rockbox

lcd_remote_powersave: unused

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31611 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-07 19:48:49 +00:00
parent 2200c2aa22
commit 95f3ba5658
6 changed files with 6 additions and 3 deletions

View file

@ -62,6 +62,7 @@ void lcd_remote_sleep(void)
remote_state_control_next=REMOTE_CONTROL_SLEEP;
}
#if 0 // FIXME
void lcd_remote_powersave(bool on)
{
if(on)
@ -75,6 +76,7 @@ void lcd_remote_powersave(bool on)
remote_state_control_next=REMOTE_CONTROL_POWER;
}
}
#endif
void lcd_remote_set_contrast(int val)
{

View file

@ -21,7 +21,6 @@
#ifndef LCD_REMOTE_TARGET_H
#define LCD_REMOTE_TARGET_H
void lcd_remote_powersave(bool on);
void lcd_remote_sleep(void);
#endif

View file

@ -67,6 +67,7 @@ int lcd_remote_default_contrast(void)
return DEFAULT_REMOTE_CONTRAST_SETTING;
}
#if 0 // FIXME
void lcd_remote_powersave(bool on)
{
if(remote_initialized) {
@ -76,6 +77,7 @@ void lcd_remote_powersave(bool on)
lcd_remote_write_command(LCD_SET_POWER_SAVE | 1);
}
}
#endif
void lcd_remote_set_contrast(int val)
{

View file

@ -21,7 +21,6 @@
#ifndef LCD_REMOTE_TARGET_H
#define LCD_REMOTE_TARGET_H
void lcd_remote_powersave(bool on);
void lcd_remote_poweroff(void); /* for when remote is plugged during shutdown*/
#endif

View file

@ -90,6 +90,7 @@ void lcd_remote_emireduce(bool state)
}
#endif
#if 0 // FIXME
void lcd_remote_powersave(bool on)
{
if (remote_initialized)
@ -98,6 +99,7 @@ void lcd_remote_powersave(bool on)
lcd_remote_write_command(LCD_REMOTE_CNTL_ENTIRE_ON_OFF | (on ? 1 : 0));
}
}
#endif
void lcd_remote_set_contrast(int val)
{

View file

@ -24,6 +24,5 @@
#ifdef HAVE_REMOTE_LCD_TICKING
void lcd_remote_emireduce(bool state);
#endif
void lcd_remote_powersave(bool on);
#endif