disabled rig and rigctl usage

This commit is contained in:
DJ2LS 2022-11-19 10:54:10 +01:00
parent 8e2fb9aea3
commit cf1f8aa078
2 changed files with 8 additions and 4 deletions

View file

@ -320,9 +320,11 @@ class DAEMON:
# check how we want to control the radio
if radiocontrol == "direct":
import rig
print("direct hamlib support deprecated - not usable anymore")
sys.exit(1)
elif radiocontrol == "rigctl":
import rigctl as rig
print("rigctl support deprecated - not usable anymore")
sys.exit(1)
elif radiocontrol == "rigctld":
import rigctld as rig
else:

View file

@ -199,9 +199,11 @@ class RF:
# Check how we want to control the radio
# TODO: deprecated feature - we can remove this possibly
if static.HAMLIB_RADIOCONTROL == "direct":
import rig
print("direct hamlib support deprecated - not usable anymore")
sys.exit(1)
elif static.HAMLIB_RADIOCONTROL == "rigctl":
import rigctl as rig
print("rigctl support deprecated - not usable anymore")
sys.exit(1)
elif static.HAMLIB_RADIOCONTROL == "rigctld":
import rigctld as rig
else: