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 #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 #include 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 #include