aboutsummaryrefslogtreecommitdiff
path: root/src/sys/core.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-21 21:55:56 -0800
committerChristian Cunningham <cc@localhost>2021-12-21 21:55:56 -0800
commitce90c0aa44b1f07ddd59159ae60e6f63357d85b8 (patch)
treeabff13d15a2b2248068b5d576b31f6b882488d56 /src/sys/core.c
parent55f9f2e10b9e768cbd99ca195f430d2252dcb918 (diff)
Fixed Graphics
Diffstat (limited to 'src/sys/core.c')
-rw-r--r--src/sys/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sys/core.c b/src/sys/core.c
index f28ef44..bbef994 100644
--- a/src/sys/core.c
+++ b/src/sys/core.c
@@ -1,6 +1,6 @@
#include "../cpu/irq.h"
#include "../drivers/uart.h"
-#include "../graphics/draw.h"
+#include "../graphics/lfb.h"
#include "../lib/mem.h"
#include "../lib/strings.h"
#include "../util/time.h"
@@ -9,7 +9,7 @@
#include "../sys/timer.h"
#include "../sys/power.h"
-extern void init_graphics(void);
+//extern void init_graphics(void);
#ifndef VERSION
char* os_info_v = "?";
@@ -50,6 +50,8 @@ void sysinit() {
//init_graphics();
//draw_box(0x01FE, 0, 0, 640, 480);
//draw_box(0xFFFF, 2, 2, 10, 10);
+ lfb_init();
+ lfb_showpicture();
// Enable IRQ & FIQ
enableirq();