| 68 | } |
| 69 | |
| 70 | void ModemGMSK::writeSetting(std::string setting, std::string value) { |
| 71 | if (setting == "fdelay") { |
| 72 | _fdelay = std::stoi(value); |
| 73 | rebuildKit(); |
| 74 | } else if (setting == "sps") { |
| 75 | _sps = std::stoi(value); |
| 76 | rebuildKit(); |
| 77 | } else if (setting == "ebf") { |
| 78 | _ebf = std::stof(value); |
| 79 | rebuildKit(); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | std::string ModemGMSK::readSetting(std::string setting) { |
| 84 | if (setting == "fdelay") { |
nothing calls this directly
no outgoing calls
no test coverage detected