aboutsummaryrefslogtreecommitdiff
path: root/src/stm32
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-29 20:19:28 +0200
committerlonkaars <loek@pipeframe.xyz>2023-03-29 20:19:28 +0200
commit54b6ca70a74b3beb1331fd0b0bed28c665ed1f4d (patch)
tree0ee401a0e3dd36be7719f738df3175fb7d8fd01e /src/stm32
parent9f38ab7fd66698c43b78b508eebc85730ba114b8 (diff)
more debugging WIP
Diffstat (limited to 'src/stm32')
-rw-r--r--src/stm32/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm32/main.c b/src/stm32/main.c
index d381d35..84288c3 100644
--- a/src/stm32/main.c
+++ b/src/stm32/main.c
@@ -1,8 +1,11 @@
+#include <stm32f0xx_hal.h>
+
#include "main.h"
#include "ppu/ppu.h"
void hh_ppu_load_tilemap() {}
void hh_loop() {
- while(g_hh_run);
+ HAL_Delay(1e3);
+ hh_ppu_vblank_interrupt();
}