forkd

Dependencies:   mbed

Fork of LG2 by Dmitry Kovalev

Revision:
124:9ae09249f842
Parent:
122:fbacb932a30b
Child:
129:406995a91322
--- a/vibro.c	Thu Apr 07 20:16:24 2016 +0000
+++ b/vibro.c	Fri Apr 08 14:20:35 2016 +0000
@@ -119,6 +119,11 @@
 //////////////////////////////////////////////////////////////////////////////
 void cheng(void)
 {  
+    
+ /*   
+if (CountV255 == 0) Gyro.Rate2_Event=1; 
+if (CountV255 == 127) Gyro.Rate2_Event=1;  
+*/
     switch(CountV31) {
      case 0:
           
@@ -131,7 +136,7 @@
 	 case 16:
             Time_vibro=0;
             Gyro.VibroFrqRegulF=1;
-            Rate2VibFlag=1;
+            Gyro.Rate2_Event=1;
      break;
             
 	 case 24: