MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / writeSetting

Method writeSetting

src/modules/modem/digital/ModemGMSK.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void 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
83std::string ModemGMSK::readSetting(std::string setting) {
84 if (setting == "fdelay") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected