From 34f949345114a0de61800db80499ea071d9e408d Mon Sep 17 00:00:00 2001 From: SG Date: Sat, 25 Sep 2021 09:13:07 +1000 Subject: [PATCH] [FL-1747] iButton: fix forgotten timer IRQ #724 --- applications/ibutton/helpers/pulse-sequencer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/ibutton/helpers/pulse-sequencer.cpp b/applications/ibutton/helpers/pulse-sequencer.cpp index 22fbad79..328df7ac 100644 --- a/applications/ibutton/helpers/pulse-sequencer.cpp +++ b/applications/ibutton/helpers/pulse-sequencer.cpp @@ -54,6 +54,8 @@ void PulseSequencer::init_timer(uint32_t period) { Error_Handler(); } + HAL_NVIC_EnableIRQ(TIM1_UP_TIM16_IRQn); + hal_gpio_init(&ibutton_gpio, GpioModeOutputOpenDrain, GpioPullNo, GpioSpeedLow); }