aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-30 15:10:17 +0200
committerlonkaars <loek@pipeframe.xyz>2023-03-30 15:10:17 +0200
commit6292c1101121bc8ba2db752cab3cbe41469b29d0 (patch)
treeb8cc9ac68b2c972b67d8aa4c9da84ea8c415a759 /src/stm32/main.c
parent54b6ca70a74b3beb1331fd0b0bed28c665ed1f4d (diff)
new spi system
Diffstat (limited to 'src/stm32/main.c')
-rw-r--r--src/stm32/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stm32/main.c b/src/stm32/main.c
index 84288c3..d815154 100644
--- a/src/stm32/main.c
+++ b/src/stm32/main.c
@@ -6,6 +6,8 @@
void hh_ppu_load_tilemap() {}
void hh_loop() {
- HAL_Delay(1e3);
- hh_ppu_vblank_interrupt();
+ while (1) {
+ hh_ppu_vblank_interrupt();
+ HAL_Delay(1e3);
+ }
}