summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/gwps-common.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 7d17eaefab..aa7cb69ab7 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -38,6 +38,7 @@
38 38
39#include "splash.h" 39#include "splash.h"
40#include "scrollbar.h" 40#include "scrollbar.h"
41#include "led.h"
41#ifdef HAVE_LCD_BITMAP 42#ifdef HAVE_LCD_BITMAP
42#include "peakmeter.h" 43#include "peakmeter.h"
43/* Image stuff */ 44/* Image stuff */
@@ -662,6 +663,21 @@ static char* get_tag(struct wps_data* wps_data,
662 } 663 }
663 break; 664 break;
664 665
666#if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD)
667 case 'l': /* VIRTUAL_LED */
668 {
669 switch(tag[1])
670 {
671 case 'h': /* Only one we have so far HDD LED */
672 if(led_read(HZ/2))
673 return "h";
674 else
675 return NULL;
676 }
677 }
678 break;
679#endif
680
665 case 'D': /* Directory path information */ 681 case 'D': /* Directory path information */
666 id3 = nid3; /* next song please! */ 682 id3 = nid3; /* next song please! */
667 *flags |= WPS_REFRESH_DYNAMIC; 683 *flags |= WPS_REFRESH_DYNAMIC;