summaryrefslogtreecommitdiff
path: root/firmware/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/font.c')
-rw-r--r--firmware/font.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 8538ef9490..45ddef3afe 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -31,6 +31,7 @@
31#include <stdlib.h> 31#include <stdlib.h>
32#include "inttypes.h" 32#include "inttypes.h"
33#include "lcd.h" 33#include "lcd.h"
34#include "system.h"
34#include "font.h" 35#include "font.h"
35#include "file.h" 36#include "file.h"
36#include "debug.h" 37#include "debug.h"
@@ -76,11 +77,11 @@ extern struct font sysfont;
76/* structure filled in by font_load */ 77/* structure filled in by font_load */
77static struct font font_ui; 78static struct font font_ui;
78/* static buffer allocation structures */ 79/* static buffer allocation structures */
79static unsigned char main_buf[MAX_FONT_SIZE]; 80static unsigned char main_buf[MAX_FONT_SIZE] CACHEALIGN_ATTR;
80#ifdef HAVE_REMOTE_LCD 81#ifdef HAVE_REMOTE_LCD
81#define REMOTE_FONT_SIZE 10000 82#define REMOTE_FONT_SIZE 10000
82static struct font remote_font_ui; 83static struct font remote_font_ui;
83static unsigned char remote_buf[REMOTE_FONT_SIZE]; 84static unsigned char remote_buf[REMOTE_FONT_SIZE] CACHEALIGN_ATTR;
84#endif 85#endif
85 86
86/* system font table, in order of FONT_xxx definition */ 87/* system font table, in order of FONT_xxx definition */