merge-requests/244/head
Tag 2022-11-13 12:21:31 -08:00
rodzic 1aefc88bb0
commit 670de8d48a
2 zmienionych plików z 11 dodań i 12 usunięć

Wyświetl plik

@ -27,7 +27,8 @@ var validSettings = [
"startupLogs",
"trustedQslSettings",
"screenSettings",
"legendColors"
"legendColors",
"pstrotatorSettings"
];
var def_appSettings = {
@ -276,3 +277,9 @@ var def_legendColors = {
QRZ: "#FFFF00",
QTH: "#FFA600"
};
var def_pstrotatorSettings = {
enable: false,
port: 12000,
ip: "127.0.0.1"
};

Wyświetl plik

@ -8,15 +8,6 @@
* https://groups.io/g/PstRotator/message/5825
*
*/
validSettings.push("pstrotatorSettings")
var def_pstrotatorSettings = {
enable: false,
port: 12000,
ip: "127.0.0.1"
};
var g_pstrotatorSettings = {};
function pstrotatorServiceChanged()
@ -45,10 +36,11 @@ function pstrotatorServiceChanged()
g_pstrotatorSettings.ip = pstrotatorIpInput.value;
g_pstrotatorSettings.port = pstrotatorPortInput.value;
localStorage.pstrotatorSettings = JSON.stringify(g_pstrotatorSettings);
saveLogSettings();
}
function aimRotator(info) {
function aimRotator(info)
{
const { callObj } = info
if (