1
0
Fork 0
forked from len0rd/rockbox

Bugfix: It was impossible to shut the iriver down with the remote.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6619 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomas Salfischberger 2005-06-08 17:10:27 +00:00
parent 9361a99cc0
commit 5b338bd8a7

View file

@ -123,7 +123,7 @@ static void button_tick(void)
which doesn't shut down easily with the OFF
key */
#ifdef HAVE_SW_POWEROFF
if (btn == BUTTON_OFF &&
if ((btn == BUTTON_OFF || btn == BUTTON_RC_STOP) &&
#ifndef IRIVER_H100
!charger_inserted() &&
#endif