![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: mathDSP.c
- Revision:
- 129:406995a91322
- Parent:
- 21:bc8c1cec3da6
--- a/mathDSP.c Mon Apr 11 11:04:34 2016 +0000 +++ b/mathDSP.c Tue Apr 12 11:10:49 2016 +0000 @@ -36,7 +36,7 @@ ******************************************************************************/ void init_VibroReduce() { - unsigned int i; + /*unsigned int i; __int64 coeff; // ~22.9 ~17600 768 | 10000Hz = 10 KHz |*| ????? |/|768000| Vibro_Filter_Aperture = Device_blk.Str.VB_N/DIV_CONST; //e. real expression is DEVICE_SAMPLE_RATE_HZ*Device_blk.Str.VB_N/7680000 @@ -54,7 +54,7 @@ hMovAver[i]= coeff; } Vibro_2_CountIn = MULT_7680_12500/Vibro_Filter_Aperture; - Vibro_2_CountIn++; //какойто счетчик + Vibro_2_CountIn++; //какойто счетчик*/ } /******************************************************************************