Browse Source

MGMLX:V2.3.0.11 取消了升级时响蜂鸣器

CHENJIE-PC\QiXiang_CHENJIE 3 years ago
parent
commit
ac43d5b66a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/CANTask.c

+ 4 - 1
src/CANTask.c

@@ -97,7 +97,10 @@ static void Can_Receive()
 						if(CanRxMsg[i].Id == 0x7A0)
 						{	
 							udsFlag = 1;
-							relayControl(TRUE);
+							if(UDSService[i]!=0x36)
+							{
+								relayControl(TRUE);
+							}
 							UDSService[i] =  CanRxMsg[i].Data[0];
 							UDSSubService[i] = CanRxMsg[i].Data[1];
 							UDSSubServiceActionCode[i] = CanRxMsg[i].Data[2];