summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-12 00:30:28 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-12 00:30:28 +0000
commit725733ca92d6140eb4bbf2455cc4e3f2aabf5da5 (patch)
tree0572662712664c58a3df2438059838bb7c0d2b22 /apps/gui/gwps.c
parenta2008f9bdeed215256d8762d378397c8e417f7df (diff)
downloadrockbox-725733ca92d6140eb4bbf2455cc4e3f2aabf5da5.tar.gz
rockbox-725733ca92d6140eb4bbf2455cc4e3f2aabf5da5.zip
Fix remote wps updating (again, FS#10121).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20693 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 1ff5410cf7..6285f7793f 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -681,17 +681,19 @@ long gui_wps_show(void)
681 if (wps_state.do_full_update || update) 681 if (wps_state.do_full_update || update)
682 { 682 {
683 FOR_NB_SCREENS(i) 683 FOR_NB_SCREENS(i)
684 {
684#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) 685#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
685 if (lcd_active() 686 if (lcd_active()
686#ifdef HAVE_REMOTE_LCD 687#ifdef HAVE_REMOTE_LCD
687 /* currently, all remotes are readable without backlight 688 /* currently, all remotes are readable without backlight
688 * so still update those */ 689 * so still update those */
689 && (i == SCREEN_MAIN) 690 || (i == SCREEN_REMOTE)
690#endif 691#endif
691 ) 692 )
692#endif 693#endif
693 { 694 {
694 gui_wps_update(&gui_wps[i]); 695 gui_wps_update(&gui_wps[i]);
696 }
695 } 697 }
696 wps_state.do_full_update = false; 698 wps_state.do_full_update = false;
697 update = false; 699 update = false;