Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LG by
Diff: mathDSP.c
- Revision:
- 129:406995a91322
- Parent:
- 21:bc8c1cec3da6
diff -r 1e4675a36c93 -r 406995a91322 mathDSP.c --- 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++; //какойто счетчик*/ } /******************************************************************************