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

Method getLevelI

c++/rigclass.cc:212–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212int Rig::getLevelI(setting_t level, vfo_t vfo)
213{
214 value_t val;
215
216 if (RIG_LEVEL_IS_FLOAT(level))
217 THROW(new RigException (-RIG_EINVAL));
218
219 CHECK_RIG( rig_get_level(theRig, vfo, level, &val) );
220 return val.i;
221}
222
223float Rig::getLevelF(setting_t level, vfo_t vfo)
224{

Callers 1

mainFunction · 0.80

Calls 2

THROWFunction · 0.85
rig_get_levelFunction · 0.85

Tested by 1

mainFunction · 0.64