Index: trunk/firmware/CubeMX/Inc/main.h
===================================================================
--- trunk/firmware/CubeMX/Inc/main.h	(revision 2)
+++ trunk/firmware/CubeMX/Inc/main.h	(revision 4)
@@ -59,5 +59,5 @@
 /* USER CODE BEGIN EFP */
 
-//#define DISABLE_SHORTCUT_DETECTION_DURING_SWITCH_OFF
+#define DISABLE_SHORTCUT_DETECTION_DURING_SWITCH_OFF
 
 #ifdef DISABLE_SHORTCUT_DETECTION_DURING_SWITCH_OFF
@@ -183,7 +183,7 @@
 #ifdef VARIANT_24V
 	#define CONTROL_CURRENT_A					380		// [A] long-term current limit of the device.
-	#define SHORTCUT_CURRENT_mV					800		// [mV] Some big value to pass test sequence
+	#define SHORTCUT_CURRENT_mV					2000	// [mV] Some big value to pass test sequence
 	#define INRUSH_CURRENT_mV					1100	// [mV] Some big value to pass test sequence
-	#define COPPER_V_DROP_AT_CONTROL_CURRENT_mV	56		// [mV] - must be measured on the board
+	#define COPPER_V_DROP_AT_CONTROL_CURRENT_mV	100		// [mV] - must be measured on the board
 #else
 	#define CONTROL_CURRENT_A					500		// [A] long-term current limit of the device.
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 */
 
