diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/chartables.c | 12 | ||||
-rw-r--r-- | firmware/lcd.c | 2 | ||||
-rw-r--r-- | firmware/led.c | 2 | ||||
-rw-r--r-- | firmware/serial.c | 2 | ||||
-rw-r--r-- | firmware/system.c | 2 |
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 @@ | |||
1 | // | 1 | /* |
2 | // Character generation tables | 2 | * Character generation tables |
3 | // | 3 | */ |
4 | |||
5 | #include "config.h" | ||
6 | |||
7 | #ifdef HAVE_LCD_BITMAP | ||
4 | 8 | ||
5 | const unsigned char char_gen_6x8[][5][1] = | 9 | const unsigned char char_gen_6x8[][5][1] = |
6 | { | 10 | { |
@@ -301,3 +305,5 @@ const unsigned char char_gen_12x16[][11][2] = | |||
301 | 0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x0c,0x00,0x18,0x00,0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x00,0x00, | 305 | 0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x0c,0x00,0x18,0x00,0x10,0x00,0x18,0x00,0x0c,0x00,0x04,0x00,0x00,0x00, |
302 | 0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0x00,0x00, | 306 | 0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0xff,0x3f,0x00,0x00, |
303 | }; | 307 | }; |
308 | |||
309 | #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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #include "config.h" | ||
21 | |||
20 | #include "lcd.h" | 22 | #include "lcd.h" |
21 | 23 | ||
22 | void lcd_data (int data) | 24 | 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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #include "config.h" | ||
21 | |||
20 | #include <led.h> | 22 | #include <led.h> |
21 | 23 | ||
22 | #define turn_on() \ | 24 | #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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #include "config.h" | ||
21 | |||
20 | #include <serial.h> | 22 | #include <serial.h> |
21 | #include <lcd.h> | 23 | #include <lcd.h> |
22 | 24 | ||
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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #include "config.h" | ||
21 | |||
20 | #include <lcd.h> | 22 | #include <lcd.h> |
21 | #include <led.h> | 23 | #include <led.h> |
22 | 24 | ||