This commit is contained in:
AlexandreRouma
2023-01-26 02:54:29 +01:00
parent ab5d7a73c1
commit 66bbc93535
10 changed files with 26 additions and 1954 deletions

View File

@ -136,7 +136,7 @@ public:
// List samplerates
samplerates.clear();
auto srList = dev->get_rx_rates(chanId);
for (auto& l : srList) {
for (const auto& l : srList) {
double step = (l.step() == 0.0) ? 100e3 : l.step();
for (double f = l.start(); f <= l.stop(); f += step) {
samplerates.define(f, getBandwdithScaled(f), f);
@ -173,7 +173,7 @@ public:
clockSources.define(s, name, s);
spdlog::warn(s);
}
// Load settings
srId = 0;
antId = 0;