S5L8700: fix buttons used in debug menu

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-07-11 22:34:56 +00:00
parent 471a0eb1f3
commit 47d857981a
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ bool __dbg_hw_info(void)
int btn = button_get_w_tmo(HZ/10);
if(btn == (DEBUG_CANCEL|BUTTON_REL))
goto end;
else if(btn == (BUTTON_DOWN|BUTTON_REL))
else if(btn == (BUTTON_PLAY|BUTTON_REL))
break;
}
}

View file

@ -24,7 +24,7 @@
#include <stdbool.h>
#define DEBUG_CANCEL BUTTON_LEFT
#define DEBUG_CANCEL BUTTON_MENU
bool __dbg_hw_info(void);
bool __dbg_ports(void);