diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/wps.c b/apps/wps.c index 24a31354ff..bab65e491d 100644 --- a/apps/wps.c +++ b/apps/wps.c | |||
@@ -171,7 +171,6 @@ int wps_show(void) | |||
171 | bool menu_button_is_down = false; | 171 | bool menu_button_is_down = false; |
172 | bool pending_keylock = true; /* Keylock will go ON next time */ | 172 | bool pending_keylock = true; /* Keylock will go ON next time */ |
173 | int old_release_mask; | 173 | int old_release_mask; |
174 | int x = 0; | ||
175 | 174 | ||
176 | old_release_mask = button_set_release(RELEASE_MASK); | 175 | old_release_mask = button_set_release(RELEASE_MASK); |
177 | 176 | ||
@@ -232,16 +231,6 @@ int wps_show(void) | |||
232 | for ( i=0;i<5;i++ ) { | 231 | for ( i=0;i<5;i++ ) { |
233 | int button = button_get(false); | 232 | int button = button_get(false); |
234 | 233 | ||
235 | if(button == BUTTON_NONE) | ||
236 | x++; | ||
237 | else | ||
238 | { | ||
239 | if(x) | ||
240 | debugf("%d BUTTON_NONE\n", x); | ||
241 | debugf("Btn: %04x - lock: %d\n", button, keys_locked); | ||
242 | x = 0; | ||
243 | } | ||
244 | |||
245 | switch ( button ) | 234 | switch ( button ) |
246 | { | 235 | { |
247 | case BUTTON_ON: | 236 | case BUTTON_ON: |