[Hamlib-developer] Conflict with RIG_VFO_CURR and RIG_VFO_NONE
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Nate B. <n0...@ne...> - 2003-01-09 03:23:49
|
Hi everyone.
As I'm working with the ft920 code to make it more robust, I am
modifying rigctl to prompt for the VFO to read/set. In so doing I am
testing the return of parse_vfo for RIG_VFO_NONE. Unfortunately, when I
try to pass currVFO from rigctl, get_freq exits early as RIG_VFO_CURR
and RIG_VFO_NONE are both defined in rig.h to 0!
How can this be rectified? It seems that making RIG_VFO_CURR to be
non-zero is the simplest answer.
73, de Nate >>
--
Wireless | Amateur Radio Station N0NB | "We have awakened a
Internet | n0...@ne... | sleeping giant and
Location | Bremen, Kansas USA EM19ov | have instilled in him
Amateur radio exams; ham radio; Linux info @ | a terrible resolve".
http://www.qsl.net/n0nb/ | - Admiral Yamamoto
|