From 6292c1101121bc8ba2db752cab3cbe41469b29d0 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 30 Mar 2023 15:10:17 +0200 Subject: new spi system --- src/stm32/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/stm32/main.c') 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); + } } -- cgit v1.2.3