Fix hamlib sideband check

pull/2/head
Stelios Bounanos 2009-03-08 19:03:23 +00:00
rodzic 4a0d11b29a
commit 6e513f5b22
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -407,11 +407,11 @@ static void *hamlib_loop(void *args)
if (progdefaults.HamlibSideband != SIDEBAND_RIG)
wf->USB(progdefaults.HamlibSideband == SIDEBAND_USB);
else
wf->USB(hamlib_rmode == RIG_MODE_LSB ||
hamlib_rmode == RIG_MODE_CW ||
hamlib_rmode == RIG_MODE_PKTLSB ||
hamlib_rmode == RIG_MODE_ECSSLSB ||
hamlib_rmode == RIG_MODE_RTTY);
wf->USB(!(hamlib_rmode == RIG_MODE_LSB ||
hamlib_rmode == RIG_MODE_CWR ||
hamlib_rmode == RIG_MODE_PKTLSB ||
hamlib_rmode == RIG_MODE_ECSSLSB ||
hamlib_rmode == RIG_MODE_RTTY));
}
if (hamlib_exit)