Bug fixes #1

Merged
thomas merged 2 commits from rudi_s into libhackrf 2024-04-20 01:24:13 +02:00
Showing only changes of commit 2768e21849 - Show all commits

View file

@ -106,6 +106,7 @@ int main(int argc, char **argv)
firdecim_crcf decim = firdecim_crcf_create_kaiser(SDR_OVERSAMPLING, 9, 60.0f); firdecim_crcf decim = firdecim_crcf_create_kaiser(SDR_OVERSAMPLING, 9, 60.0f);
nco_crcf rx_nco = nco_crcf_create(LIQUID_NCO); nco_crcf rx_nco = nco_crcf_create(LIQUID_NCO);
nco_crcf_set_frequency(rx_nco, 2 * 3.14159 * SDR_RX_IF_SHIFT / SDR_RX_SAMPLING_RATE);
inputfile = fopen(argv[1], "rb"); inputfile = fopen(argv[1], "rb");
if(!inputfile) { if(!inputfile) {