From 9c0a8622c26743583966b653704d5bfc8b4c0c7d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 4 Apr 2023 16:24:10 +0200 Subject: full ppu IO in stm code (h/vblank interrupts) --- src/stm32/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/stm32/main.c') diff --git a/src/stm32/main.c b/src/stm32/main.c index fb548d8..b7b4604 100644 --- a/src/stm32/main.c +++ b/src/stm32/main.c @@ -1,14 +1,9 @@ #include #include "main.h" -#include "ppu/ppu.h" void hh_ppu_load_tilemap() {} void hh_loop() { - // TODO: call hh_ppu_vblank_interrupt on interrupt instead of manually - while (1) { - hh_ppu_vblank_interrupt(); - HAL_Delay(16); - } + while(1); } -- cgit v1.2.3