Index: trunk/firmware/CubeMX/Src/main.c
===================================================================
--- trunk/firmware/CubeMX/Src/main.c	(revision 2)
+++ trunk/firmware/CubeMX/Src/main.c	(revision 4)
@@ -2110,5 +2110,5 @@
 
 				// We disable shortcut detecting interrupt
-				HAL_NVIC_DisableIRQ(ADC1_COMP_IRQn);
+				//HAL_NVIC_DisableIRQ(ADC1_COMP_IRQn);
 			//}
 		}
@@ -2852,7 +2852,7 @@
 void OVP_not_present__LVP_present(void)
 {
-#ifdef DISABLE_SHORTCUT_DETECTION_DURING_SWITCH_OFF
-	DisableShortCutDetection();
-#endif
+//#ifdef DISABLE_SHORTCUT_DETECTION_DURING_SWITCH_OFF
+//	DisableShortCutDetection();
+//#endif
 	HAL_NVIC_DisableIRQ(ADC_DMA_IRQ);
 	MOSFETS_Management = &ADC_OVP_not_present__LVP_present;
Index: trunk/firmware/CubeMX/Src/stm32g0xx_it.c
===================================================================
--- trunk/firmware/CubeMX/Src/stm32g0xx_it.c	(revision 2)
+++ trunk/firmware/CubeMX/Src/stm32g0xx_it.c	(revision 4)
@@ -214,5 +214,5 @@
 {
   /* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
-  //R2_GPIO_Port->BSRR = R2_Pin;
+  TP2_GPIO_Port->BSRR = TP2_Pin;
 
   static uint32_t current_integral = 0;
@@ -240,5 +240,5 @@
   else current_integral = 0;
 
-  //R2_GPIO_Port->BRR = R2_Pin;
+  TP2_GPIO_Port->BRR = TP2_Pin;
 
   return;
Index: trunk/firmware/CubeMX/Src/tim.c
===================================================================
--- trunk/firmware/CubeMX/Src/tim.c	(revision 2)
+++ trunk/firmware/CubeMX/Src/tim.c	(revision 4)
@@ -178,4 +178,6 @@
   /* USER CODE BEGIN TIM15_Init 0 */
 
+  // This timer is used to turn on again overcurrent detection after short turn-off.
+
   /* USER CODE END TIM15_Init 0 */
 
