mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-24 19:12:25 +00:00
Updated channel data type in LimeConfig_t
Switched the data type of 'channel' from float to int in LimeConfig structure to ensure channel numbers are represented as integers, aligning with typical usage and avoiding potential truncation errors. This change improves configuration accuracy and safeguards against invalid fractional channel values.
This commit is contained in:
parent
73abc06d6e
commit
038ed21c6b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
struct LimeConfig_t {
|
struct LimeConfig_t {
|
||||||
|
|
||||||
float srate;
|
float srate;
|
||||||
float channel;
|
int channel;
|
||||||
float frq;
|
float frq;
|
||||||
float frq_set;
|
float frq_set;
|
||||||
float RX_LPF;
|
float RX_LPF;
|
||||||
|
|
Loading…
Reference in a new issue