Преглед на файлове

版本号:2.3.0.20,2.3.0.19的Bug修复

CHENJIE-PC\QiXiang_CHENJIE преди 3 години
родител
ревизия
85add444a9
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      inc/app.h
  2. 1 1
      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		0x02030013
+#define	APPSWVERSION		0x02030014
 //#define	APPSWVERSION		0x0201000E
 //--------------------------------------------------------------------------------
 

+ 1 - 1
src/UartTask.c

@@ -742,7 +742,7 @@ BOOL BattHeaterSwitch(UINT8* heaterSwitch)
  UINT8 currentSwitchState = 0;
 
  //get the current switch state and the cell temp
- currentSwitchState = battMOSSwitchState & 0x01;
+ currentSwitchState = battHeatEnableState & 0x01;
 
 	if(currentSwitchState==0)  //当前状态为关闭,判断是否应该开启
 	{