summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 37f4fea310..b2d06bc61f 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -652,7 +652,8 @@ static char* get_tag(struct wps_data* wps_data,
652 strncpy(buf, "?h ?m", buf_size); 652 strncpy(buf, "?h ?m", buf_size);
653 return buf; 653 return buf;
654 } 654 }
655 655
656#ifdef HAVE_CHARGING
656 case 'p': /* External power plugged in? */ 657 case 'p': /* External power plugged in? */
657 { 658 {
658 if(charger_input_state==CHARGER) 659 if(charger_input_state==CHARGER)
@@ -660,6 +661,7 @@ static char* get_tag(struct wps_data* wps_data,
660 else 661 else
661 return NULL; 662 return NULL;
662 } 663 }
664#endif
663#if defined(HAVE_CHARGE_CTRL) || \ 665#if defined(HAVE_CHARGE_CTRL) || \
664 defined (HAVE_CHARGE_STATE) || \ 666 defined (HAVE_CHARGE_STATE) || \
665 CONFIG_BATTERY == BATT_LIION2200 667 CONFIG_BATTERY == BATT_LIION2200