MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / getParmF

Method getParmF

c++/rigclass.cc:284–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284float Rig::getParmF(setting_t parm)
285{
286 value_t val;
287
288 if (!RIG_LEVEL_IS_FLOAT(parm))
289 THROW(new RigException (-RIG_EINVAL));
290
291 CHECK_RIG( rig_get_parm(theRig, parm, &val) );
292 return val.f;
293}
294
295void Rig::setSplitFreq(freq_t tx_freq, vfo_t vfo) {
296 CHECK_RIG( rig_set_split_freq(theRig, vfo, tx_freq) );

Callers

nothing calls this directly

Calls 2

THROWFunction · 0.85
rig_get_parmFunction · 0.85

Tested by

no test coverage detected