1
0
Fork 0
forked from len0rd/rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29468 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Jarosch 2011-02-28 23:14:18 +00:00
parent 2647d11354
commit 3db9fd199f

View file

@ -62,6 +62,9 @@ int last_sent_battery_level = 100;
int battery_percent = -1;
void send_battery_level_event(void);
static bool sleeptimer_active = false;
static long sleeptimer_endtick;
#if CONFIG_CHARGING
/* State of the charger input as seen by the power thread */
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)
{
if (seconds) {