kopia lustrzana https://github.com/Hamlib/Hamlib
21c346453a
CAT protocols that don't allow direct addressing of VFOs require that the "other" VFO be queried or set via a select then get/set then select back to original or swap then get/set then swap again. When both frequncy and mode need to be set the sequences can be optimized if a single funciton is avaiable. This enhancement adds those single functions rig_set_split_freq_mode() and rig_get_split_freq_mode() with a default impelementation that calls the individual rig_{get,set}_split_{freq,mode}() functions. Back ends can choose to implement an optimized version which is used instead of the default if present. Using these functions when an optimized implementation is available allows the TX VFO's frequency and mode to be set in a single operation with only one VFO exchange or selection either side of the operation. Many CAT protocols are very efficient when getting or setting both frequency and mode and some even combine the two in a single command. The letters 'K' and 'k' are used for the rigctl short command name for these functions. |
||
---|---|---|
.. | ||
Makefile.am | ||
rigclass.cc | ||
rotclass.cc | ||
testcpp.cc |