mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +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:
1 parent
a244bad67f
commit
2de1d3c549
4 files changed
+4486
-4496
No files matched your search
+4485
-2
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
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user