mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-13 11:47:21 +01:00
rtl_fm: disabling fast_atan2() for now, too noisy
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
62cc815863
commit
d2f8faa204
@ -209,9 +209,9 @@ int polar_discriminant(int ar, int aj, int br, int bj)
|
|||||||
int cr, cj;
|
int cr, cj;
|
||||||
double angle;
|
double angle;
|
||||||
multiply(ar, aj, br, -bj, &cr, &cj);
|
multiply(ar, aj, br, -bj, &cr, &cj);
|
||||||
//angle = atan2((double)cj, (double)cr);
|
angle = atan2((double)cj, (double)cr);
|
||||||
//return (int)(angle / 3.14159 * (1<<14));
|
return (int)(angle / 3.14159 * (1<<14));
|
||||||
return fast_atan2(cj, cr);
|
//return fast_atan2(cj, cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void fm_demod(struct fm_state *fm)
|
void fm_demod(struct fm_state *fm)
|
||||||
|
Loading…
Reference in New Issue
Block a user