aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/main.c')
-rw-r--r--src/stm32/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32/main.c b/src/stm32/main.c
index d815154..fb548d8 100644
--- a/src/stm32/main.c
+++ b/src/stm32/main.c
@@ -6,8 +6,9 @@
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(1e3);
+ HAL_Delay(16);
}
}