fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
38:716472a4492e
Parent:
30:17c84ed091b3
Child:
42:6fc307c4963e
--- 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: