Added manual selection of tx rx matching.

This commit is contained in:
jupfi 2024-02-12 21:36:32 +01:00
parent 1393cd6121
commit a47961e311
3 changed files with 20 additions and 2 deletions

2
extern/limedriver vendored

@ -1 +1 @@
Subproject commit 73abc06d6e73d8fcd7fa6cf76c20230026e86d9a
Subproject commit d1e1cd6bba209c0ca604411d50329abaa5a824b1

View file

@ -1,6 +1,6 @@
[project]
name = "limedriver"
version = "0.2.0"
version = "0.3.0"
description = "Python bindings for limedriver"
authors = [{name = "Kumi", email = "limedriver@kumi.email"}]
license = {file = "LICENSE"}

View file

@ -14,6 +14,8 @@ cdef extern from "limedriver.h":
cdef struct LimeConfig_t:
float srate
int channel
int TX_matching
int RX_matching
float frq
float frq_set
float RX_LPF
@ -114,6 +116,22 @@ cdef class PyLimeConfig:
def channel(self, int value):
self._config.channel = value
@property
def TX_matching(self):
return self._config.TX_matching
@TX_matching.setter
def TX_matching(self, int value):
self._config.TX_matching = value
@property
def RX_matching(self):
return self._config.RX_matching
@RX_matching.setter
def RX_matching(self, int value):
self._config.RX_matching = value
@property
def frq(self):
return self._config.frq