diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-04-04 16:24:10 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-04-04 16:24:10 +0200 |
commit | 9c0a8622c26743583966b653704d5bfc8b4c0c7d (patch) | |
tree | 83b87ced77ed8742ba6d6e4f55e6ddcb8915966a /src/stm32/main.c | |
parent | d924eaf44e12cdc7a438a08695f8602993693c98 (diff) |
full ppu IO in stm code (h/vblank interrupts)
Diffstat (limited to 'src/stm32/main.c')
-rw-r--r-- | src/stm32/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <stm32f0xx_hal.h> #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); } |