Explorar el Código

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

SG hace 4 años
padre
commit
34f9493451
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      applications/ibutton/helpers/pulse-sequencer.cpp

+ 2 - 0
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);
 }