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:
Kumi 2024-02-11 09:03:14 +01:00
parent 73abc06d6e
commit 038ed21c6b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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;