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:
Björn Stenberg 2003-09-19 23:20:09 +00:00
parent 255f6eee42
commit fad8f2c8c8

View file

@ -116,17 +116,6 @@ static void button_tick(void)
repeat_count > POWEROFF_COUNT)
power_off();
#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