mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
disabled rig and rigctl usage
This commit is contained in:
parent
8e2fb9aea3
commit
cf1f8aa078
2 changed files with 8 additions and 4 deletions
|
@ -320,9 +320,11 @@ class DAEMON:
|
||||||
|
|
||||||
# check how we want to control the radio
|
# check how we want to control the radio
|
||||||
if radiocontrol == "direct":
|
if radiocontrol == "direct":
|
||||||
import rig
|
print("direct hamlib support deprecated - not usable anymore")
|
||||||
|
sys.exit(1)
|
||||||
elif radiocontrol == "rigctl":
|
elif radiocontrol == "rigctl":
|
||||||
import rigctl as rig
|
print("rigctl support deprecated - not usable anymore")
|
||||||
|
sys.exit(1)
|
||||||
elif radiocontrol == "rigctld":
|
elif radiocontrol == "rigctld":
|
||||||
import rigctld as rig
|
import rigctld as rig
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -199,9 +199,11 @@ class RF:
|
||||||
# Check how we want to control the radio
|
# Check how we want to control the radio
|
||||||
# TODO: deprecated feature - we can remove this possibly
|
# TODO: deprecated feature - we can remove this possibly
|
||||||
if static.HAMLIB_RADIOCONTROL == "direct":
|
if static.HAMLIB_RADIOCONTROL == "direct":
|
||||||
import rig
|
print("direct hamlib support deprecated - not usable anymore")
|
||||||
|
sys.exit(1)
|
||||||
elif static.HAMLIB_RADIOCONTROL == "rigctl":
|
elif static.HAMLIB_RADIOCONTROL == "rigctl":
|
||||||
import rigctl as rig
|
print("rigctl support deprecated - not usable anymore")
|
||||||
|
sys.exit(1)
|
||||||
elif static.HAMLIB_RADIOCONTROL == "rigctld":
|
elif static.HAMLIB_RADIOCONTROL == "rigctld":
|
||||||
import rigctld as rig
|
import rigctld as rig
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue