[FL-1747] iButton: fix forgotten timer IRQ #724

This commit is contained in:
SG 2021-09-25 09:13:07 +10:00 committed by GitHub
parent acb8508249
commit 34f9493451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,8 @@ void PulseSequencer::init_timer(uint32_t period) {
Error_Handler(); Error_Handler();
} }
HAL_NVIC_EnableIRQ(TIM1_UP_TIM16_IRQn);
hal_gpio_init(&ibutton_gpio, GpioModeOutputOpenDrain, GpioPullNo, GpioSpeedLow); hal_gpio_init(&ibutton_gpio, GpioModeOutputOpenDrain, GpioPullNo, GpioSpeedLow);
} }