1
0
Fork 0
forked from len0rd/rockbox

HD200 - small cleanup in button_init_device()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26766 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcin Bukat 2010-06-11 11:41:24 +00:00
parent 71c9521a87
commit b45a2d433b

View file

@ -28,9 +28,9 @@
void button_init_device(void)
{
/* Set GPIO36, GPIO56 as general purpose inputs */
or_l((1<<4)|(1<<24),&GPIO1_FUNCTION);
and_l(~((1<<4)|(1<<24)),&GPIO1_ENABLE);
/* Set GPIO56 (main PLAY) as general purpose inputs */
or_l((1<<24),&GPIO1_FUNCTION);
and_l(~(1<<24),&GPIO1_ENABLE);
}
bool button_hold(void)