summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:35:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:35:46 +0000
commitb612263b1e75859aa773c63a9a5bfe7978f35e77 (patch)
tree355cb606c2559053d5852830bd4a77b8e4141ec8
parent351c8b257381cefc14b86b4d5de9eb93390f4de4 (diff)
downloadrockbox-b612263b1e75859aa773c63a9a5bfe7978f35e77.tar.gz
rockbox-b612263b1e75859aa773c63a9a5bfe7978f35e77.zip
apps: lcd-remote.h is not needed if HAVE_REMOTE_LCD is not defined
Fix a comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31608 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c2
-rw-r--r--apps/gui/viewport.c2
-rw-r--r--apps/menus/display_menu.c2
-rw-r--r--apps/menus/theme_menu.c2
-rw-r--r--apps/misc.c2
-rw-r--r--apps/screen_access.c4
6 files changed, 13 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 8e1abdd161..2a742408d2 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -52,7 +52,9 @@
52#ifdef HAVE_TAGCACHE 52#ifdef HAVE_TAGCACHE
53#include "tagcache.h" 53#include "tagcache.h"
54#endif 54#endif
55#ifdef HAVE_REMOTE_LCD
55#include "lcd-remote.h" 56#include "lcd-remote.h"
57#endif
56#include "crc32.h" 58#include "crc32.h"
57#include "logf.h" 59#include "logf.h"
58#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 60#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index a55ccc3221..760e13cff7 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -22,7 +22,9 @@
22#include <stdlib.h> 22#include <stdlib.h>
23#include "config.h" 23#include "config.h"
24#include "lcd.h" 24#include "lcd.h"
25#ifdef HAVE_REMOTE_LCD
25#include "lcd-remote.h" 26#include "lcd-remote.h"
27#endif
26#include "font.h" 28#include "font.h"
27#include "viewport.h" 29#include "viewport.h"
28#include "screen_access.h" 30#include "screen_access.h"
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 957307d8a8..3e1443d02e 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -35,7 +35,9 @@
35#endif 35#endif
36#include "talk.h" 36#include "talk.h"
37#include "lcd.h" 37#include "lcd.h"
38#ifdef HAVE_REMOTE_LCD
38#include "lcd-remote.h" 39#include "lcd-remote.h"
40#endif
39#ifdef HAVE_TOUCHSCREEN 41#ifdef HAVE_TOUCHSCREEN
40#include "screens.h" 42#include "screens.h"
41#endif 43#endif
diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c
index 5e04191ed1..93511f8197 100644
--- a/apps/menus/theme_menu.c
+++ b/apps/menus/theme_menu.c
@@ -32,7 +32,9 @@
32#include "list.h" 32#include "list.h"
33#include "color_picker.h" 33#include "color_picker.h"
34#include "lcd.h" 34#include "lcd.h"
35#ifdef HAVE_REMOTE_LCD
35#include "lcd-remote.h" 36#include "lcd-remote.h"
37#endif
36#include "backdrop.h" 38#include "backdrop.h"
37#include "exported_menus.h" 39#include "exported_menus.h"
38#include "appevents.h" 40#include "appevents.h"
diff --git a/apps/misc.c b/apps/misc.c
index 30c747113c..3c55395a42 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -33,7 +33,9 @@
33#ifndef __PCTOOL__ 33#ifndef __PCTOOL__
34#include "lang.h" 34#include "lang.h"
35#include "dir.h" 35#include "dir.h"
36#ifdef HAVE_REMOTE_LCD
36#include "lcd-remote.h" 37#include "lcd-remote.h"
38#endif
37#include "timefuncs.h" 39#include "timefuncs.h"
38#include "screens.h" 40#include "screens.h"
39#include "usb_screen.h" 41#include "usb_screen.h"
diff --git a/apps/screen_access.c b/apps/screen_access.c
index cd58654f7c..5ab08b7fc5 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -22,7 +22,9 @@
22#include <stdio.h> 22#include <stdio.h>
23#include "config.h" 23#include "config.h"
24#include <lcd.h> 24#include <lcd.h>
25#ifdef HAVE_REMOTE_LCD
25#include <lcd-remote.h> 26#include <lcd-remote.h>
27#endif
26#include <scroll_engine.h> 28#include <scroll_engine.h>
27#include <font.h> 29#include <font.h>
28#include <button.h> 30#include <button.h>
@@ -356,7 +358,7 @@ struct screen screens[NB_SCREENS] =
356 .has_buttonbar=false, 358 .has_buttonbar=false,
357#endif 359#endif
358 } 360 }
359#endif /* HAVE_REMOTE_LCD */ 361#endif /* NB_SCREENS == 2 */
360}; 362};
361 363
362#ifdef HAVE_LCD_BITMAP 364#ifdef HAVE_LCD_BITMAP