![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: Command.c
- Revision:
- 38:716472a4492e
- Parent:
- 30:17c84ed091b3
- Child:
- 42:6fc307c4963e
diff -r bdd52117b56e -r 716472a4492e Command.c --- a/Command.c Sat Feb 06 12:30:03 2016 +0000 +++ b/Command.c Sat Feb 06 14:26:26 2016 +0000 @@ -371,7 +371,7 @@ Gyro.RsErrLine = (Gyro.RsErrLine)& 0xffff; - CountBuFFIn=ReadChekCon(BuffTemp); + CountBuFFIn=ReadChekCon1(BuffTemp); if(CountBuFFIn==1) { if (BuffTemp[0] != SOC_In) { ReadCon(BuffTemp); @@ -398,7 +398,7 @@ Param2=BuffTemp[4]; Param3=BuffTemp[5]; } else if(CountBuFFIn > (N-1)) { - ReadCon(BuffTemp); + ReadCon1(BuffTemp); if(Check(BuffTemp, CountBuFFIn)) { switch(Gyro.CMD_In) { case CMD_MAINT: