get the normal passband of a mode Returns the normal (default) passband for the given mode.
Definition at line 922 of file rig.c. References rig_state::filters, filter_list::modes, rig::state, and filter_list::width. { const struct rig_state *rs; int i; if (!rig) return 0; /* huhu! */ rs = &rig->state; for (i=0; i<FLTLSTSIZ && rs->filters[i].modes; i++) { if (rs->filters[i].modes & mode) { return rs->filters[i].width; } } return 0; }
|