lib: video: Drop font.c temporarely

Since we're practically PIC, keep the massive array in the header.
Otherwise we exception.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
This commit is contained in:
Ivaylo Ivanov 2024-10-10 16:49:09 +03:00
parent a244bad67f
commit 2de1d3c549
4 changed files with 4486 additions and 4496 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,6 @@
# simplefb
lib-$(CONFIG_SIMPLE_FB) += simplefb/simplefb.o
# video
lib-$(CONFIG_SIMPLE_FB) += video/font.o
# debug
lib-y += debug/debug.o

View File

@ -66,7 +66,7 @@ void __simplefb_raw_print(volatile char *fb, char *text, int text_x, int text_y,
}
int ix = font_index(text[i]);
const unsigned char *img = letters[ix];
unsigned char *img = letters[ix];
// Draw the character as a scaled bitmap
for (int y = 0; y < FONTH; y++) {

File diff suppressed because it is too large Load Diff