aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/main.c
blob: fb548d852b80ec16711faee759d1d0ccdd474561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);
	}
}