xuy před 2 roky
rodič
revize
c56c6c19cb
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 1 1
      Src/KeySlave485.c
  2. 2 2
      Src/freertos.c

+ 1 - 1
Src/KeySlave485.c

@@ -37,7 +37,7 @@ uint8_t product_code[20] = "JL-SIMS-CJ-V2.1";				 //
 uint8_t product_ID[20] = "20210730001";						 //产品ID
 
 char Version_software[30] = "KZB09A0_20220210_Temp1";
-uint32_t Version_Soft[8] = {2,3,3,12,1,2,2,20230201};
+uint32_t Version_Soft[8] = {2,3,3,12,1,2,2,20230202};
 
 uint8_t flag_exitReset = 0;	 //终止复位命令
 uint8_t flag_Uart4_Busy = 0; //表明打印机占用了总线,暂停语音播报

+ 2 - 2
Src/freertos.c

@@ -2457,7 +2457,7 @@ void DisplayRunInfo(uint32_t FunDebugCode000)
 	}	  //按键功能码>90000 ----结束   if(FunDebugCode>90000)
 	else
 	{ //功能码范围在00--90000之间--开始
-		memset(bufText01Password, ' ', sizeof(bufText01Password));
+		memset(bufText01Password, 0, sizeof(bufText01Password));
 		//sprintf((char*)bufText01Password,"系统运行中.tick=%08X,%08d.\r\n",tick001,tick001);
 		if (FunDebugCode000 == 0)
 		{
@@ -2503,7 +2503,7 @@ void DisplayRunInfo(uint32_t FunDebugCode000)
             break;
             
             default:
-                Len001RunInfo = sprintf((char *)bufText01Password, "系统运行中.tick=%08X,%08d.未定义code=%5d.CPU=%d.\r\n", tick001, tick001 / 1000, FunDebugCode000, cntUsage);
+                Len001RunInfo = sprintf((char *)bufText01Password, "  code=%5d\r\n",FunDebugCode000);
             break;
             }