]> mj.ucw.cz Git - home-hw.git/blobdiff - Src/stm32f1xx_it.c
Time display through USB
[home-hw.git] / Src / stm32f1xx_it.c
index 67ae5fe53330627f035d347aeaa3b70df8749ca9..1754251c6d162f6b33ff88692dd65c2ff7ebdd83 100644 (file)
@@ -230,12 +230,7 @@ void TIM4_IRQHandler(void)
   /* USER CODE BEGIN TIM4_IRQn 0 */
   if (LL_TIM_IsActiveFlag_UPDATE(TIM4))
     {
   /* USER CODE BEGIN TIM4_IRQn 0 */
   if (LL_TIM_IsActiveFlag_UPDATE(TIM4))
     {
-      static byte led_state;
-      if (led_state)
-       LL_GPIO_SetOutputPin(LED_GPIO_Port, LED_Pin);
-      else
-       LL_GPIO_ResetOutputPin(LED_GPIO_Port, LED_Pin);
-      led_state ^= 1;
+      // FIXME
       LL_TIM_ClearFlag_UPDATE(TIM4);
     }
 
       LL_TIM_ClearFlag_UPDATE(TIM4);
     }