aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-04 16:24:10 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-04 16:24:10 +0200
commit9c0a8622c26743583966b653704d5bfc8b4c0c7d (patch)
tree83b87ced77ed8742ba6d6e4f55e6ddcb8915966a /src/stm32/main.c
parentd924eaf44e12cdc7a438a08695f8602993693c98 (diff)
full ppu IO in stm code (h/vblank interrupts)
Diffstat (limited to 'src/stm32/main.c')
-rw-r--r--src/stm32/main.c7
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);
}