forked from len0rd/rockbox
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29468 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2647d11354
commit
3db9fd199f
1 changed files with 3 additions and 3 deletions
|
|
@ -62,6 +62,9 @@ int last_sent_battery_level = 100;
|
||||||
int battery_percent = -1;
|
int battery_percent = -1;
|
||||||
void send_battery_level_event(void);
|
void send_battery_level_event(void);
|
||||||
|
|
||||||
|
static bool sleeptimer_active = false;
|
||||||
|
static long sleeptimer_endtick;
|
||||||
|
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
/* State of the charger input as seen by the power thread */
|
/* State of the charger input as seen by the power thread */
|
||||||
enum charger_input_state_type charger_input_state;
|
enum charger_input_state_type charger_input_state;
|
||||||
|
|
@ -812,9 +815,6 @@ void send_battery_level_event(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool sleeptimer_active = false;
|
|
||||||
static long sleeptimer_endtick;
|
|
||||||
|
|
||||||
void set_sleep_timer(int seconds)
|
void set_sleep_timer(int seconds)
|
||||||
{
|
{
|
||||||
if (seconds) {
|
if (seconds) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue