123

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
98:95b8e79f13e1
Parent:
93:b3803774f110
Child:
100:e197a8d2cf43
Child:
102:4270092be987
--- a/Command.c	Mon Mar 28 15:32:21 2016 +0000
+++ b/Command.c	Tue Mar 29 09:51:17 2016 +0000
@@ -280,6 +280,10 @@
     //WriteConN (BuffTemp,1);
 }
 
+void CMD_M_vib()
+{
+ 
+}
 unsigned int Check(char *c, unsigned int Count)
 {
     int i=1;
@@ -355,7 +359,13 @@
             lengf=6;
             CRC_N=8;
             break;
+        case SUBCMD_M_VIB_W: 
+            lengf=8;
+            CRC_N=10;
+            break;
+        break;
     }
+    
     return lengf;
 }
 
@@ -402,6 +412,7 @@
         Param2=BuffTemp[4];
         Param3=BuffTemp[5];
     } 
+  
     else if(CountBuFFIn > (N-1))
      {
         ReadCon1(BuffTemp);