mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-12 21:42:51 +01:00
fix typo mentioned in #174
This commit is contained in:
parent
a987c112a3
commit
7c933d5103
@ -84,7 +84,7 @@ void SourceManager::tune(double freq) {
|
||||
if (selectedHandler == NULL) {
|
||||
return;
|
||||
}
|
||||
// TODO: No need to always retune the hardware in panadpter mode
|
||||
// TODO: No need to always retune the hardware in Panadapter mode
|
||||
selectedHandler->tuneHandler(((tuneMode == TuningMode::NORMAL) ? freq : ifFreq) + tuneOffset, selectedHandler->ctx);
|
||||
onRetune.emit(freq);
|
||||
currentFreq = freq;
|
||||
@ -100,7 +100,7 @@ void SourceManager::setTuningMode(TuningMode mode) {
|
||||
tune(currentFreq);
|
||||
}
|
||||
|
||||
void SourceManager::setPanadpterIF(double freq) {
|
||||
void SourceManager::setPanadapterIF(double freq) {
|
||||
ifFreq = freq;
|
||||
tune(currentFreq);
|
||||
}
|
@ -35,7 +35,7 @@ public:
|
||||
void tune(double freq);
|
||||
void setTuningOffset(double offset);
|
||||
void setTuningMode(TuningMode mode);
|
||||
void setPanadpterIF(double freq);
|
||||
void setPanadapterIF(double freq);
|
||||
|
||||
std::vector<std::string> getSourceNames();
|
||||
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
}
|
||||
|
||||
// Switch source to panadapter mode
|
||||
sigpath::sourceManager.setPanadpterIF(ifFreq);
|
||||
sigpath::sourceManager.setPanadapterIF(ifFreq);
|
||||
sigpath::sourceManager.setTuningMode(SourceManager::TuningMode::PANADAPTER);
|
||||
sigpath::sourceManager.onRetune.bindHandler(&_retuneHandler);
|
||||
|
||||
@ -131,7 +131,7 @@ private:
|
||||
ImGui::FillWidth();
|
||||
if (ImGui::InputDouble(CONCAT("##_rigctl_if_freq_", _this->name), &_this->ifFreq, 100.0, 100000.0, "%.0f")) {
|
||||
if (_this->running) {
|
||||
sigpath::sourceManager.setPanadpterIF(_this->ifFreq);
|
||||
sigpath::sourceManager.setPanadapterIF(_this->ifFreq);
|
||||
}
|
||||
config.acquire();
|
||||
config.conf[_this->name]["ifFreq"] = _this->ifFreq;
|
||||
|
Loading…
Reference in New Issue
Block a user