Add ppm_error option

This commit is contained in:
Jared Szechy
2021-01-21 23:14:04 -05:00
parent 5324d53c47
commit f383d165fd
3 changed files with 10 additions and 1 deletions

View File

@@ -901,6 +901,10 @@ void open_rtlsdr_stream(dsd_opts *opts)
controller.freq_len++;
}
if (opts->rtlsdr_ppm_error > 0) {
dongle.ppm_error = opts->rtlsdr_ppm_error;
}
/* quadruple sample_rate to limit to Δθ to ±π/2 */
demod.rate_in *= demod.post_downsample;