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:
parent
cb7e695ef9
commit
ee927e6514
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue