From 218844ed478f82491748d991d5e4ea4155d7bf89 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 14 Jul 2021 01:58:59 +0200 Subject: [PATCH] Fixed sample rate not updating --- hackrf_source/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hackrf_source/src/main.cpp b/hackrf_source/src/main.cpp index 5f7cb019..ea8f56fb 100644 --- a/hackrf_source/src/main.cpp +++ b/hackrf_source/src/main.cpp @@ -301,6 +301,7 @@ private: if (ImGui::Button(CONCAT("Refresh##_hackrf_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) { _this->refresh(); _this->selectBySerial(_this->selectedSerial); + core::setInputSampleRate(_this->sampleRate); } if (_this->running) { style::endDisabled(); }