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

Function flrig_get_split_freq_mode

rigs/dummy/flrig.c:2227–2247  ·  view source on GitHub ↗

* flrig_get_split_freq_mode * assumes rig!=NULL, freq!=NULL, mode!=NULL, width!=NULL */

Source from the content-addressed store, hash-verified

2225* assumes rig!=NULL, freq!=NULL, mode!=NULL, width!=NULL
2226*/
2227static int flrig_get_split_freq_mode(RIG *rig, vfo_t vfo, freq_t *freq,
2228 rmode_t *mode, pbwidth_t *width)
2229{
2230 int retval;
2231
2232 ENTERFUNC;
2233
2234 if (vfo != RIG_VFO_CURR && vfo != RIG_VFO_TX)
2235 {
2236 RETURNFUNC(-RIG_ENTARGET);
2237 }
2238
2239 retval = flrig_get_freq(rig, RIG_VFO_B, freq);
2240
2241 if (RIG_OK == retval)
2242 {
2243 retval = flrig_get_mode(rig, vfo, mode, width);
2244 }
2245
2246 RETURNFUNC(retval);
2247}
2248
2249static int flrig_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
2250{

Callers

nothing calls this directly

Calls 2

flrig_get_freqFunction · 0.85
flrig_get_modeFunction · 0.85

Tested by

no test coverage detected