kopia lustrzana https://github.com/PianetaRadio/CatRadio
Power status
rodzic
0689460b40
commit
8ee38b8b3a
|
@ -2,8 +2,10 @@ CatRadio
|
||||||
|
|
||||||
(+ New, * Updated, - Removed)
|
(+ New, * Updated, - Removed)
|
||||||
|
|
||||||
1.4.0 - 2022-mm-dd
|
1.4.0 - 2023-mm-dd
|
||||||
|
+ Meter peak indicator
|
||||||
+ Debug mode
|
+ Debug mode
|
||||||
|
* Power status improvement
|
||||||
* Bug fix: COM port list
|
* Bug fix: COM port list
|
||||||
* Updated to library Hamlib 4.5.4
|
* Updated to library Hamlib 4.5.4
|
||||||
|
|
||||||
|
|
|
@ -730,7 +730,13 @@ void MainWindow::on_pushButton_Connect_toggled(bool checked)
|
||||||
guiInit();
|
guiInit();
|
||||||
connectMsg = "Connected to ";
|
connectMsg = "Connected to ";
|
||||||
connectMsg.append(my_rig->caps->model_name);
|
connectMsg.append(my_rig->caps->model_name);
|
||||||
if (rigCap.onoff == 0 || rigGet.onoff == RIG_POWER_ON || rigGet.onoff == RIG_POWER_UNKNOWN) timer->start(rigCom.rigRefresh);
|
if (rigCap.onoff == 0 || rigGet.onoff == RIG_POWER_ON || rigGet.onoff == RIG_POWER_UNKNOWN)
|
||||||
|
{
|
||||||
|
freq_t retfreq;
|
||||||
|
retcode = rig_get_freq(my_rig, RIG_VFO_CURR, &retfreq); //double check if rig is on by getting the current frequency
|
||||||
|
if (retcode == RIG_OK) timer->start(rigCom.rigRefresh);
|
||||||
|
else rigGet.onoff = RIG_POWER_OFF;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (rigCom.connected) //Button unchecked
|
else if (rigCom.connected) //Button unchecked
|
||||||
|
|
Ładowanie…
Reference in New Issue