aboutsummaryrefslogtreecommitdiff
path: root/src/ppu/stm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppu/stm.c')
-rw-r--r--src/ppu/stm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ppu/stm.c b/src/ppu/stm.c
index 6bd9f66..ddd62b9 100644
--- a/src/ppu/stm.c
+++ b/src/ppu/stm.c
@@ -13,7 +13,6 @@ void hh_ppu_deinit() {}
void hh_ppu_vram_dwrite(uint8_t* data, size_t size) {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_9, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_9, GPIO_PIN_RESET);
- HAL_SPI_Transmit_IT(&hspi1, data, size);
- // HAL_SPI_Transmit_IT(&hspi1, (uint8_t[4]){ 0xff }, 4);
+ HAL_SPI_Transmit_DMA(&hspi1, data, size);
}