correction to previous commit

master
Ismael Gomez 7 years ago
parent 6e0fd43c1f
commit a993e72534

@ -40,9 +40,7 @@
#define FFTW_WISDOM_FILE ".fftw_wisdom"
void srslte_dft_load() {
if (!fftwf_import_wisdom_from_filename(FFTW_WISDOM_FILE)) {
fprintf(stderr, "Error loading FFTW wisdom from file %s\n", FFTW_WISDOM_FILE);
}
fftwf_import_wisdom_from_filename(FFTW_WISDOM_FILE);
}
void srslte_dft_exit() {

@ -44,6 +44,7 @@ enb* enb::get_instance(void)
}
void enb::cleanup(void)
{
srslte_dft_exit();
boost::mutex::scoped_lock lock(enb_instance_mutex);
if(NULL != instance) {
delete instance;
@ -60,7 +61,6 @@ enb::enb()
enb::~enb()
{
srslte_dft_exit();
srslte::byte_buffer_pool::cleanup();
}

Loading…
Cancel
Save