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

Method RngRxModes

c++/rigclass.cc:663–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663rmode_t Rig::RngRxModes (freq_t freq)
664{
665 unsigned modes = RIG_MODE_NONE;
666 int i;
667
668 for (i=0; i<HAMLIB_FRQRANGESIZ; i++) {
669 freq_range_t *rng = &theRig->state.rx_range_list[i];
670 if (RIG_IS_FRNG_END(*rng)) {
671 return (rmode_t)modes;
672 }
673 if (freq >= rng->startf && freq <= rng->endf)
674 modes |= (unsigned)rng->modes;
675 }
676
677 return (rmode_t)modes;
678}
679
680rmode_t Rig::RngTxModes (freq_t freq)
681{

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64