1
0
Fork 0
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:
Thomas Martitz 2009-04-12 00:30:28 +00:00
parent a2008f9bde
commit 725733ca92

View file

@ -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;