Fix KA9Q support to work with latest commit (2024-06-11)

pull/890/head
Mark Jessop 2024-06-16 09:27:38 +09:30
rodzic 967741deeb
commit bc2585cd4f
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -12,7 +12,7 @@ from queue import Queue
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
# PATCH - Small changes, or minor feature additions.
__version__ = "1.7.3-beta16"
__version__ = "1.7.3-beta17"
# Global Variables

Wyświetl plik

@ -119,9 +119,10 @@ def ka9q_get_iq_cmd(
# Get the 'PCM' version of the server name, where as assume -pcm is added to the first part of the hostname.
_pcm_host = sdr_hostname.split('.')[0] + "-pcm." + ".".join(sdr_hostname.split(".")[1:])
# pcmcat -2 -s 404090000 sonde-pcm.local
# Example: pcmcat -s 404090000 sonde-pcm.local
# -2 option was removed sometime in early 2024.
_cmd = (
f"pcmcat -2 "
f"pcmcat "
f"-s {int(frequency)} "
f"{_pcm_host} |"
)