mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
slight cleanup
This commit is contained in:
parent
ddd5c97780
commit
5a15064a35
|
@ -41,17 +41,6 @@ class RETCODE(Enum):
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
libname = pathlib.Path("../tnc/lib/hamlib/linux/libhamlib.so")
|
||||
hamlib = ctypes.CDLL(libname)
|
||||
|
||||
|
@ -83,16 +72,7 @@ class STATE(ctypes.Structure):
|
|||
|
||||
class MY_RIG(ctypes.Structure):
|
||||
_fields_ = [
|
||||
#("Nc", ctypes.c_int),
|
||||
#("snr_est", ctypes.c_float),
|
||||
#("rx_symbols", (ctypes.c_float * MODEM_STATS_NR_MAX)*MODEM_STATS_NC_MAX),
|
||||
#("nr", ctypes.c_int),
|
||||
#("sync", ctypes.c_int),
|
||||
#("foff", ctypes.c_float),
|
||||
#("rx_timing", ctypes.c_float),
|
||||
#("clock_offset", ctypes.c_float),
|
||||
#("sync_metric", ctypes.c_float),
|
||||
("pathname", ctypes.c_uchar),
|
||||
("pathname", ctypes.c_char),
|
||||
("state", STATE),
|
||||
|
||||
]
|
||||
|
@ -115,7 +95,7 @@ model = 3085 #3085 = ICOM 6 = DUMMY
|
|||
my_rig = MY_RIG()
|
||||
my_rig.state.rigport.parm.serial.data_bits = 7
|
||||
|
||||
#rig = hamlib.rig_init(my_rig)
|
||||
rig = hamlib.rig_init(my_rig)
|
||||
|
||||
#hamlib.serial_setup()
|
||||
#hamlib.serial_open('dev12')
|
||||
|
|
Loading…
Reference in a new issue