summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-27 19:50:44 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-27 19:50:44 +0000
commit5d6817de666da3144d3bf857e745b898d2d4de1f (patch)
tree6b928afeee79668b929f51777cf86ae3006ca737
parent2b934027d89e4d0e857c6f4dd8280a08d35ec3ed (diff)
downloadrockbox-5d6817de666da3144d3bf857e745b898d2d4de1f.zip
rockbox-5d6817de666da3144d3bf857e745b898d2d4de1f.tar.gz
rockbox-5d6817de666da3144d3bf857e745b898d2d4de1f.tar.bz2
rockbox-5d6817de666da3144d3bf857e745b898d2d4de1f.tar.xz
Removed debugging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1466 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 24a3135..bab65e4 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -171,7 +171,6 @@ int wps_show(void)
bool menu_button_is_down = false;
bool pending_keylock = true; /* Keylock will go ON next time */
int old_release_mask;
- int x = 0;
old_release_mask = button_set_release(RELEASE_MASK);
@@ -232,16 +231,6 @@ int wps_show(void)
for ( i=0;i<5;i++ ) {
int button = button_get(false);
- if(button == BUTTON_NONE)
- x++;
- else
- {
- if(x)
- debugf("%d BUTTON_NONE\n", x);
- debugf("Btn: %04x - lock: %d\n", button, keys_locked);
- x = 0;
- }
-
switch ( button )
{
case BUTTON_ON: