aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/setup.c')
-rw-r--r--src/stm32/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/setup.c b/src/stm32/setup.c
index f692159..dc8d23e 100644
--- a/src/stm32/setup.c
+++ b/src/stm32/setup.c
@@ -150,7 +150,7 @@ void hh_io_gpio_setup() {
gpio_init(HH_IO_SPI_SR_PORT, HH_IO_SPI_SR_PIN, GPIO_MODE_OUTPUT_PP, GPIO_NOPULL);
// PPU HBLANK/VBLANK
- gpio_init(HH_IO_PPU_HBLANK_PORT, HH_IO_PPU_HBLANK_PIN, GPIO_MODE_IT_RISING, GPIO_NOPULL);
+ gpio_init(HH_IO_PPU_HBLANK_PORT, HH_IO_PPU_HBLANK_PIN, GPIO_MODE_INPUT, GPIO_NOPULL);
gpio_init(HH_IO_PPU_VBLANK_PORT, HH_IO_PPU_VBLANK_PIN, GPIO_MODE_IT_RISING, GPIO_NOPULL);
HAL_NVIC_SetPriority(EXTI4_15_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(EXTI4_15_IRQn);