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

Method readSetting

src/modules/modem/digital/ModemFSK.cpp:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90std::string ModemFSK::readSetting(std::string setting) {
91 if (setting == "bps") {
92 return std::to_string(bps);
93 } else if (setting == "sps") {
94 return std::to_string(sps);
95 } else if (setting == "bw") {
96 return std::to_string(bw);
97 }
98 return "";
99}
100
101ModemKit *ModemFSK::buildKit(long long sampleRate, int audioSampleRate) {
102 auto *dkit = new ModemKitFSK;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected