rtl_fm: disabling fast_atan2() for now, too noisy

Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Kyle Keen 2012-05-31 09:47:55 -04:00 committed by Steve Markgraf
parent 62cc815863
commit d2f8faa204
1 changed files with 3 additions and 3 deletions

View File

@ -209,9 +209,9 @@ int polar_discriminant(int ar, int aj, int br, int bj)
int cr, cj;
double angle;
multiply(ar, aj, br, -bj, &cr, &cj);
//angle = atan2((double)cj, (double)cr);
//return (int)(angle / 3.14159 * (1<<14));
return fast_atan2(cj, cr);
angle = atan2((double)cj, (double)cr);
return (int)(angle / 3.14159 * (1<<14));
//return fast_atan2(cj, cr);
}
void fm_demod(struct fm_state *fm)