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

Method getLevel

c++/rigclass.cc:190–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189
190void Rig::getLevel(setting_t level, int& vali, vfo_t vfo)
191{
192 value_t val;
193
194 if (RIG_LEVEL_IS_FLOAT(level))
195 THROW(new RigException (-RIG_EINVAL));
196
197 CHECK_RIG( rig_get_level(theRig, vfo, level, &val) );
198 vali = val.i;
199}
200
201void Rig::getLevel(setting_t level, float& valf, vfo_t vfo)
202{

Callers

nothing calls this directly

Calls 2

THROWFunction · 0.85
rig_get_levelFunction · 0.85

Tested by

no test coverage detected