Faster updates of the virtual LED WPS tag

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8302 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-01-05 21:05:42 +00:00
parent cb7e695ef9
commit ee927e6514

View file

@ -669,6 +669,7 @@ static char* get_tag(struct wps_data* wps_data,
switch(tag[1])
{
case 'h': /* Only one we have so far HDD LED */
*flags |= WPS_REFRESH_DYNAMIC;
if(led_read(HZ/2))
return "h";
else