diff --git a/source_modules/hydrasdr_source/src/main.cpp b/source_modules/hydrasdr_source/src/main.cpp index 1e047043..ee14b65c 100644 --- a/source_modules/hydrasdr_source/src/main.cpp +++ b/source_modules/hydrasdr_source/src/main.cpp @@ -570,27 +570,6 @@ private: config.release(true); } } - - SmGui::LeftLabel("Reg"); - SmGui::FillWidth(); - SmGui::InputText(CONCAT("##_badgesdr_reg_", _this->name), _this->regStr, 256); - SmGui::LeftLabel("Value"); - SmGui::FillWidth(); - SmGui::InputText(CONCAT("##_badgesdr_val_", _this->name), _this->valStr, 256); - SmGui::FillWidth(); - if (ImGui::Button(CONCAT("Read##_badgesdr_rd_", _this->name))) { - if (_this->running) { - uint8_t val; - hydrasdr_r82x_read(_this->openDev, std::stoi(_this->regStr, NULL, 16), &val); - sprintf(_this->valStr, "%02X", val); - } - } - SmGui::FillWidth(); - if (ImGui::Button(CONCAT("Write##_badgesdr_wr_", _this->name))) { - if (_this->running) { - hydrasdr_r82x_write(_this->openDev, std::stoi(_this->regStr, NULL, 16), std::stoi(_this->valStr, NULL, 16)); - } - } } char valStr[256];