fix prach example and close rf at exit

master
Andre Puschmann 7 years ago
parent df2bbd4087
commit 5bd92fb658

@ -232,6 +232,7 @@ int main(int argc, char **argv) {
srslte_vec_save_file(output_filename,buffer,11*flen*sizeof(cf_t)); srslte_vec_save_file(output_filename,buffer,11*flen*sizeof(cf_t));
srslte_rf_close(&rf);
srslte_prach_free(p); srslte_prach_free(p);
free(p); free(p);

Loading…
Cancel
Save