forkd

Dependencies:   mbed

Fork of LG2 by Dmitry Kovalev

Revision:
227:2774b56bfab0
Parent:
226:4a4d5bd5fcd7
--- a/Global.c	Tue Dec 26 05:14:09 2017 +0000
+++ b/Global.c	Fri Jan 05 08:14:38 2018 +0000
@@ -40,8 +40,11 @@
  
  int BuffADC_128Point		[100];	
  int BuffADC_64Point		[100];
+ 
+ int BuffPLC_FILT    		[20];
+ unsigned int C_PLC_F=0;
+ 
  int BuffADC_32Point		[100];
- 
  int BuffADC_16Point		[100];
  
  int BuffADC_10HFO			[100];
@@ -76,7 +79,10 @@
     int temp=0;
     
     InitMOD();
-       
+     for(int q=0; q<20; q++)
+   			{
+   		    	BuffPLC_FILT  [q] = 0;
+   			}
 Gyro.CuruAngleLog=0;
 	Global_Time	= 0;
     Time_UART	= 0;