Hamlib errorcode negative
parent
86857a5296
commit
e909540f8b
|
@ -329,7 +329,9 @@ void Hamlib::update_from_hamlib_()
|
|||
pbwidth_t passband = 0;
|
||||
vfo_t currVfo = RIG_VFO_A;
|
||||
int result = rig_get_vfo(m_rig, &currVfo);
|
||||
if (result != RIG_OK && result != RIG_ENAVAIL)
|
||||
if (g_verbose) fprintf(stderr, "rig_get_vfo: error = %d \n", result);
|
||||
//result=RIG_OK;
|
||||
if (result != RIG_OK && result != -RIG_ENAVAIL)
|
||||
{
|
||||
if (g_verbose) fprintf(stderr, "rig_get_vfo: error = %s \n", rigerror(result));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue