rfnm source cleanup

This commit is contained in:
AlexandreRouma 2024-07-16 00:23:06 +02:00
parent 0066994899
commit 9ec78da7ac

View File

@ -90,9 +90,6 @@ private:
return; return;
} }
// // Open the device
// librfnm* dev = new librfnm(librfnm_transport::LIBRFNM_TRANSPORT_USB, serial);
// Define bandwidths // Define bandwidths
bandwidths.clear(); bandwidths.clear();
bandwidths.define(-1, "Auto", -1); bandwidths.define(-1, "Auto", -1);
@ -106,9 +103,6 @@ private:
gainMin = -30;//dev->librfnm_s->rx.ch[0].gain_range.min; gainMin = -30;//dev->librfnm_s->rx.ch[0].gain_range.min;
gainMax = 60;//dev->librfnm_s->rx.ch[0].gain_range.max; gainMax = 60;//dev->librfnm_s->rx.ch[0].gain_range.max;
// // Close device
// delete dev;
// Define samplerates // Define samplerates
samplerates.clear(); samplerates.clear();
samplerates.define(61440000, "61.44 MHz", 2); samplerates.define(61440000, "61.44 MHz", 2);