| 11 | namespace tt::app::i2cscanner { |
| 12 | |
| 13 | std::string getAddressText(uint8_t address) { |
| 14 | std::stringstream stream; |
| 15 | stream << "0x" |
| 16 | << std::uppercase << std::setfill ('0') |
| 17 | << std::setw(2) << std::hex << (uint32_t)address; |
| 18 | return stream.str(); |
| 19 | } |
| 20 | |
| 21 | std::string getPortNamesForDropdown() { |
| 22 | std::vector<std::string> config_names; |