mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-21 11:30:06 +00:00
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:
parent
a244bad67f
commit
2de1d3c549
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
@ -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++) {
|
||||
|
4490
lib/video/font.c
4490
lib/video/font.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user