1
0
Fork 0
forked from len0rd/rockbox

fix on button detection

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2748 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2002-10-23 14:42:45 +00:00
parent ab7c63814b
commit b351656491

View file

@ -101,7 +101,17 @@ bool snow(void)
snow_move();
lcd_update();
sleep(HZ/20);
if (button_get(false))
if (button_get(false) == BUTTON_OFF)
return false;
}
}