kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Tidy up
rodzic
1aefc88bb0
commit
670de8d48a
|
@ -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"
|
||||
};
|
||||
|
|
|
@ -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 (
|
||||
|
|
Ładowanie…
Reference in New Issue