Fixed stupid mistake
This commit is contained in:
@@ -238,8 +238,8 @@ void InitDSP(void)
|
|||||||
{
|
{
|
||||||
#ifdef __OPT__
|
#ifdef __OPT__
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
*CosTable2 = malloc(INCR*sizeof(double));
|
CosTable2 = malloc(INCR*sizeof(double));
|
||||||
*SinTable2 = malloc(INCR*sizeof(double));
|
SinTable2 = malloc(INCR*sizeof(double));
|
||||||
for (i=0; i<INCR; i++){
|
for (i=0; i<INCR; i++){
|
||||||
CosTable2[i] = (cos((double)(2*PI*i/INCR)));
|
CosTable2[i] = (cos((double)(2*PI*i/INCR)));
|
||||||
SinTable2[i] = (sin((double)(2*PI*i/INCR)));
|
SinTable2[i] = (sin((double)(2*PI*i/INCR)));
|
||||||
|
|||||||
Reference in New Issue
Block a user