forked from len0rd/rockbox
Fix remote wps updating (again, FS#10121).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20693 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a2008f9bde
commit
725733ca92
1 changed files with 4 additions and 2 deletions
|
|
@ -681,17 +681,19 @@ long gui_wps_show(void)
|
|||
if (wps_state.do_full_update || update)
|
||||
{
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||
if (lcd_active()
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
/* currently, all remotes are readable without backlight
|
||||
* so still update those */
|
||||
&& (i == SCREEN_MAIN)
|
||||
|| (i == SCREEN_REMOTE)
|
||||
#endif
|
||||
)
|
||||
#endif
|
||||
{
|
||||
{
|
||||
gui_wps_update(&gui_wps[i]);
|
||||
}
|
||||
}
|
||||
wps_state.do_full_update = false;
|
||||
update = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue