Index: trunk/fw_g473rct/SES/inc/battery_voltage.h
===================================================================
--- trunk/fw_g473rct/SES/inc/battery_voltage.h	(revision 37)
+++ trunk/fw_g473rct/SES/inc/battery_voltage.h	(revision 38)
@@ -16,5 +16,16 @@
 
 //--- GLOBALE DEFINES ----------------------------------------------------------
-#define BATTERY_VOLTAGE_VOLTAGE_DIVIDER       6.0
+#if defined SYSTEM_VOLTAGE_12V
+  #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER       6.0
+#elif defined SYSTEM_VOLTAGE_24V
+  #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER       11.0
+#elif defined SYSTEM_VOLTAGE_48V
+  #define BATTERY_VOLTAGE_VOLTAGE_DIVIDER       21.0
+#else
+  #error "System voltage not defined"
+#endif
+
+
+
 #define BATTERY_VOLTAGE_ADC_RESOLUTION		  32768.0 //65536/2 da im differential mode
 #define BATTERY_VOLTAGE_ADC_OFFSET			  32768.0
Index: trunk/fw_g473rct/SES/inc/outputs.h
===================================================================
--- trunk/fw_g473rct/SES/inc/outputs.h	(revision 37)
+++ trunk/fw_g473rct/SES/inc/outputs.h	(revision 38)
@@ -30,4 +30,5 @@
 #define OUTPUTS_LVP_SHUNT_UNDERTEMPERATURE		5
 #define OUTPUTS_LVP_CHIP_UNDERTEMPERATURE		6
+#define OUTPUTS_LVP_SHORT_PROTECTION			7
 
 #define OUTPUTS_OVP_UNKNOWN						-1
@@ -39,4 +40,5 @@
 #define OUTPUTS_OVP_SHUNT_UNDERTEMPERATURE		5
 #define OUTPUTS_OVP_CHIP_UNDERTEMPERATURE		6
+#define OUTPUTS_OVP_SHORT_PROTECTION			7
 
 #define OUTPUTS_LVP_MODE_AUTO					0U
Index: trunk/fw_g473rct/SES/inc/sysdata.h
===================================================================
--- trunk/fw_g473rct/SES/inc/sysdata.h	(revision 37)
+++ trunk/fw_g473rct/SES/inc/sysdata.h	(revision 38)
@@ -189,6 +189,8 @@
 	/* 2 of 8 */ uint16_t ovp_sense;                                            // 168
 	/* 4 of 8 */ uint16_t lvp_sense;                                            // 169
-	/* 6 of 8 */ uint32_t detectedCapacityAtActualCRate;						// 170,171
-	/* 8 of 8 */ uint32_t detectedEnergyAtActualCRate;							// 172,173
+	/* 6 of 8 */ uint16_t overcurrentRetryCounter;								// 170
+	/* 8 of 8 */ uint16_t overcurrentEventsTotal;								// 171
+	/* 2 of 8 */ uint16_t overcurrentMeasurement;								// 172
+	/* 4 of 8 */ uint16_t overcurrentMaxValue;									// 173
 	/* 6 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 174
 	/* 8 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 175
@@ -226,8 +228,6 @@
 	/* 8 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 239
 	/* 4 of 8 */ int64_t  mAs_AutoModeU;										// 240-243
-	/* 6 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 244
-	/* 8 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 245
-	/* 2 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 246
-	/* 4 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 247
+	/* 6 of 8 */ uint32_t detectedCapacityAtActualCRate;						// 244,245
+	/* 8 of 8 */ uint32_t detectedEnergyAtActualCRate;							// 246,247
 	/* 6 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 248
 	/* 8 of 8 */ uint16_t UNIQUE_NAME(reserved);								// 249
