summaryrefslogtreecommitdiff
path: root/Bpq32.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-30 11:27:28 +0000
committerDave Hibberd <hibby@debian.org>2024-11-30 11:27:28 +0000
commit93a10a982d3fcab0c469e2805b2034bba4e59a55 (patch)
treeafe8f05b6c1d33e5abb08077a93bbffafce710bf /Bpq32.c
parentf62edf7675f8930f39f1eb45239a674b1c3a237a (diff)
New upstream version 6.0.24.51.3+repack+really50upstream/6.0.24.51.3+repack+really50
Diffstat (limited to 'Bpq32.c')
-rw-r--r--Bpq32.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/Bpq32.c b/Bpq32.c
index 1125b31..f7e1f59 100644
--- a/Bpq32.c
+++ b/Bpq32.c
@@ -1086,7 +1086,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Add ? and * wildcards to NODES command (74)
// Add Port RADIO config parameter (74)
-// Version 6.0.24.1 August 2023
+// Version 6.0.24.1 August 2024
// Apply NODES command wildcard to alias as well a call (2)
// Add STOPPORT/STARTPORT to VARA Driver (2)
@@ -1234,7 +1234,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Add optional ATTACH time limit for VARA (48)
// API format fixes (48)
// AGWAPI Add protection against accidental connects from a non-agw application (50)
-// Save MH and NODES every hour (51)
#define CKernel
@@ -1375,9 +1374,6 @@ extern struct _LINKTABLE * LINKS;
extern int LINK_TABLE_LEN;
extern int MAXLINKS;
-extern double LatFromLOC;
-extern double LonFromLOC;
-
extern int BPQHOSTAPI();
extern int INITIALISEPORTS();
@@ -3072,7 +3068,7 @@ SkipInit:
if (AttachedProcesses < 2)
{
- if (AUTOSAVE)
+ if (AUTOSAVE == 1)
SaveNodes();
if (AUTOSAVEMH)
SaveMH();
@@ -6625,19 +6621,11 @@ int GetListeningPortsPID(int Port)
return 0; // Not found
}
-DllExport char * APIENTRY GetLOC()
+DllExport char * APIENTRY GetLOC()
{
return LOC;
}
-DllExport void APIENTRY GetLatLon(double * lat, double * lon)
-{
- *lat = LatFromLOC;
- *lon = LonFromLOC;
- return;
-}
-
-
// UZ7HO Dll PTT interface
// 1 ext_PTT_info