diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-04-04 16:24:10 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-04-04 16:24:10 +0200 |
commit | 9c0a8622c26743583966b653704d5bfc8b4c0c7d (patch) | |
tree | 83b87ced77ed8742ba6d6e4f55e6ddcb8915966a /src/ppu | |
parent | d924eaf44e12cdc7a438a08695f8602993693c98 (diff) |
full ppu IO in stm code (h/vblank interrupts)
Diffstat (limited to 'src/ppu')
-rw-r--r-- | src/ppu/stm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ppu/stm.c b/src/ppu/stm.c index 72e46ae..e1d7e5d 100644 --- a/src/ppu/stm.c +++ b/src/ppu/stm.c @@ -18,6 +18,8 @@ void hh_ppu_vram_dwrite(uint8_t* data, size_t size) { HAL_SPI_Transmit(&hspi1, (uint8_t[4]){ 0xff }, 4, HAL_MAX_DELAY); // reset SPI HAL_GPIO_WritePin(GPIOA, GPIO_PIN_9, GPIO_PIN_SET); + // HAL_Delay(100); // TODO: remove HAL_GPIO_WritePin(GPIOA, GPIO_PIN_9, GPIO_PIN_RESET); + // HAL_Delay(100); // TODO: remove } |