forked from len0rd/rockbox
Removed reboot when DC connected. It serves no purpose and is confusing to users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3956 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
255f6eee42
commit
fad8f2c8c8
1 changed files with 0 additions and 11 deletions
|
@ -116,17 +116,6 @@ static void button_tick(void)
|
||||||
repeat_count > POWEROFF_COUNT)
|
repeat_count > POWEROFF_COUNT)
|
||||||
power_off();
|
power_off();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Reboot if the OFF button is pressed long enough
|
|
||||||
and we are connected to a charger. */
|
|
||||||
#ifdef HAVE_RECORDER_KEYPAD
|
|
||||||
if(btn == BUTTON_OFF && charger_inserted() &&
|
|
||||||
repeat_count > POWEROFF_COUNT)
|
|
||||||
#elif HAVE_PLAYER_KEYPAD
|
|
||||||
if(btn == BUTTON_STOP && charger_inserted() &&
|
|
||||||
repeat_count > POWEROFF_COUNT)
|
|
||||||
#endif
|
|
||||||
system_reboot();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue