mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-25 10:28:28 +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;
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user