1.2.0
PianetaRadio 2022-04-11 20:14:52 +02:00 zatwierdzone przez GitHub
rodzic ac85aefff8
commit 6907aa68e9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -146,7 +146,7 @@ void RigDaemon::rigUpdate()
if (retcode == RIG_OK) rigGet.ptt = retptt;
//* Meter
if (rigGet.ptt==1)
if (rigGet.ptt == 1 || rigSet.ptt == 1)
{
rig_get_level(my_rig, RIG_VFO_CURR, RIG_LEVEL_RFPOWER_METER, &rigGet.powerMeter);
rig_get_level(my_rig, RIG_VFO_CURR, rigSet.meter, &rigGet.subMeter);
@ -158,7 +158,7 @@ void RigDaemon::rigUpdate()
}
//***** Command execution *****
if (!rigGet.ptt)
if (!rigGet.ptt && !rigSet.ptt)
{
//* Mode
if (rigCmd.mode && rigSet.mode != RIG_MODE_NONE) //VFO Main