diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 5ab0097b2c..1fef9e02cb 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -1292,6 +1292,13 @@ static const char *get_token_value(struct gui_wps *gwps, | |||
1292 | token->value.i * TIMEOUT_UNIT)) | 1292 | token->value.i * TIMEOUT_UNIT)) |
1293 | return "v"; | 1293 | return "v"; |
1294 | return NULL; | 1294 | return NULL; |
1295 | case WPS_TOKEN_LASTTOUCH: | ||
1296 | #ifdef HAVE_TOUCHSCREEN | ||
1297 | if (TIME_BEFORE(current_tick, token->value.i * TIMEOUT_UNIT + | ||
1298 | touchscreen_last_touch())) | ||
1299 | return "t"; | ||
1300 | #endif | ||
1301 | return NULL; | ||
1295 | 1302 | ||
1296 | case WPS_TOKEN_SETTING: | 1303 | case WPS_TOKEN_SETTING: |
1297 | { | 1304 | { |