remove debugging fields from hydrasdr source

pull/1678/head
AlexandreRouma 2025-08-09 15:49:19 -04:00
rodzic b5d227fecf
commit 40808c60e4
1 zmienionych plików z 0 dodań i 21 usunięć

Wyświetl plik

@ -570,27 +570,6 @@ private:
config.release(true); 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]; char valStr[256];