summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/gwps-common.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 37306fb0e3..ca366a92af 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -803,6 +803,20 @@ static char* get_tag(struct wps_data* wps_data,
803 return buf; 803 return buf;
804 } 804 }
805 805
806 case 's': /* sleep timer */
807 {
808 if (get_sleep_timer() == 0)
809 {
810 return NULL;
811 }
812 else
813 {
814 gui_wps_format_time(buf, buf_size, \
815 get_sleep_timer() * 1000);
816 return buf;
817 }
818 }
819
806#ifdef HAVE_CHARGING 820#ifdef HAVE_CHARGING
807 case 'p': /* External power plugged in? */ 821 case 'p': /* External power plugged in? */
808 { 822 {