kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'get-ptt-error' of git://git.code.sf.net/u/bsomervi/hamlib
commit
dbc8f4d24b
|
@ -535,6 +535,10 @@ static int dummy_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
|
|||
|
||||
*ptt = status ? RIG_PTT_ON : RIG_PTT_OFF;
|
||||
}
|
||||
else
|
||||
{
|
||||
*ptt = RIG_PTT_OFF;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
@ -545,6 +549,10 @@ static int dummy_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
|
|||
|
||||
*ptt = status ? RIG_PTT_ON : RIG_PTT_OFF;
|
||||
}
|
||||
else
|
||||
{
|
||||
*ptt = RIG_PTT_OFF;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue