summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-16 14:02:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-16 14:02:26 +0000
commit439b187d42f1ffa21dfb20491053b3fdd21179ec (patch)
tree12fb19bef369ea005c41bce1be787f4dc22968e4 /firmware
parentbde61f220627b0fac9de0da322f0354675a6ef47 (diff)
include config.h properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@103 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/chartables.c12
-rw-r--r--firmware/lcd.c2
-rw-r--r--firmware/led.c2
-rw-r--r--firmware/serial.c2
-rw-r--r--firmware/system.c2
5 files changed, 17 insertions, 3 deletions
diff --git a/firmware/chartables.c b/firmware/chartables.c
index f4d64d164b..0ecd79f9d5 100644
--- a/firmware/chartables.c
+++ b/firmware/chartables.c
@@ -1,6 +1,10 @@
-//
-// Character generation tables
-//
+/*
+ * Character generation tables
+ */
+
+#include "config.h"
+
+#ifdef HAVE_LCD_BITMAP
const unsigned char char_gen_6x8[][5][1] =
{
@@ -301,3 +305,5 @@ const unsigned char char_gen_12x16[][11][2] =
0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x0c,0x00,0x18,0x00,0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x00,0x00,
0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0x00,0x00,
};
+
+#endif /* HAVE_LCD_BITMAP */
diff --git a/firmware/lcd.c b/firmware/lcd.c
index 932cb5a3e7..64d52addcf 100644
--- a/firmware/lcd.c
+++ b/firmware/lcd.c
@@ -17,6 +17,8 @@
*
****************************************************************************/
+#include "config.h"
+
#include "lcd.h"
void lcd_data (int data)
diff --git a/firmware/led.c b/firmware/led.c
index e8922e7891..488964bcb9 100644
--- a/firmware/led.c
+++ b/firmware/led.c
@@ -17,6 +17,8 @@
*
****************************************************************************/
+#include "config.h"
+
#include <led.h>
#define turn_on() \
diff --git a/firmware/serial.c b/firmware/serial.c
index 1269083aab..f9708f98cf 100644
--- a/firmware/serial.c
+++ b/firmware/serial.c
@@ -17,6 +17,8 @@
*
****************************************************************************/
+#include "config.h"
+
#include <serial.h>
#include <lcd.h>
diff --git a/firmware/system.c b/firmware/system.c
index 8e9c7ff692..0769ac7b45 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -17,6 +17,8 @@
*
****************************************************************************/
+#include "config.h"
+
#include <lcd.h>
#include <led.h>