1
0
Fork 0
forked from len0rd/rockbox

remote_detect(): move to lcd-remote.h

Reorganize lcd-remote.h so it works for iaudio-m3 too

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31605 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-07 19:07:36 +00:00
parent 666f2e61f0
commit 50f96943be
8 changed files with 61 additions and 62 deletions

View file

@ -21,8 +21,6 @@
#ifndef LCD_REMOTE_TARGET_H
#define LCD_REMOTE_TARGET_H
bool remote_detect(void); /* returns detection status */
void lcd_remote_backlight(bool on);
bool lcd_remote_read_device(unsigned char *data);

View file

@ -26,8 +26,6 @@
void lcd_remote_powersave(bool on);
bool remote_detect(void);
#ifndef SIMULATOR
void _remote_backlight_on(void);
void _remote_backlight_off(void);

View file

@ -24,7 +24,6 @@
#define REMOTE_INIT_LCD 1
#define REMOTE_DEINIT_LCD 2
bool remote_detect(void);
void lcd_remote_powersave(bool on);
void lcd_remote_poweroff(void); /* for when remote is plugged during shutdown*/

View file

@ -24,7 +24,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
#include "lcd-remote-target.h"
#include "lcd-remote.h"
static bool hold_button = false;
static bool remote_hold_button = false;

View file

@ -23,7 +23,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
#include "lcd-remote-target.h"
#include "lcd-remote.h"
/* have buttons scan by default */
static bool button_scan_on = true;

View file

@ -23,7 +23,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
#include "lcd-remote-target.h"
#include "lcd-remote.h"
/* have buttons scan by default */
static bool button_scan_on = true;

View file

@ -29,6 +29,4 @@ void lcd_remote_emireduce(bool state);
#endif
void lcd_remote_powersave(bool on);
bool remote_detect(void);
#endif