Browse Source

MGMLXN750N2189002 -加热断开继电器版本-紧急修复 2.3.0.27

CHENJIE-PC\QiXiang_CHENJIE 3 years ago
parent
commit
cfac7f63b2
2 changed files with 5 additions and 1 deletions
  1. 1 1
      inc/app.h
  2. 4 0
      src/UartTask.c

+ 1 - 1
inc/app.h

@@ -51,7 +51,7 @@ extern "C" {
 #define	BLSWVERSION		0x01020000    //BootLoader版本号V1.2.0.0
 #define	DRVSWVERSION		0x01050000     //驱动层版本号V1.4.0.0  驱动层1.5.0.0,增加了三轴
 //#define	APPSWVERSION		0x01020209     
-#define	APPSWVERSION		0x0203001A
+#define	APPSWVERSION		0x0203001B
 //#define	APPSWVERSION		0x0201000E
 //--------------------------------------------------------------------------------
 

+ 4 - 0
src/UartTask.c

@@ -169,6 +169,10 @@ static void UartTask(void* arg)
 				{
 					AppDataInfo.RelayControl=FALSE;
 				} 
+				if(maxCellTemp>=50&&minCellTemp>=50&&battHeatEnableState==0x00)
+				{
+					AppDataInfo.RelayControl=TRUE;
+				}
 				if(UartReadMsg.Header[2]>0)
 				{
 					uartReadSuccessFlag = true;