forkd

Dependencies:   mbed

Fork of LG2 by Dmitry Kovalev

Revision:
216:189b0ea1dc38
Parent:
215:b58b887fd367
Child:
220:04c54405b82d
--- a/main.c	Tue Aug 29 06:33:08 2017 +0000
+++ b/main.c	Mon Sep 04 12:09:55 2017 +0000
@@ -54,12 +54,7 @@
                {
                BuffADC_1Point[CountV255] =0;
                }
-                for(int q=0; q<64; q++)
-            	{
-            	BuffADC_32PointD	[q] = 0;		
-				BuffADC_64Point		[q] = 0;	
-				Buff_Restored_Mod 	[q] = 0;    
-            	}
+
     while ( 1 ) { 
     if(Time1Hz<5)
     {
@@ -67,12 +62,12 @@
       ADC_32PointD=0;
       for(int q=0; q<64; q++)
             	{
-            	BuffADC_32PointD	[q] = 0;		
+            	BuffADC_znak	[q] = 0;		
 				BuffADC_64Point		[q] = 0;	
 				Buff_Restored_Mod 	[q] = 0;    
             	}
-            	}
-         Event_1250Hz();
+    }
+        Event_1250Hz();
      	Event_100KHz();
      	Event_2KHz();
         Event_1KHz();