diff options
| author | Yuval Adam <_@yuv.al> | 2021-04-23 14:44:23 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-04-23 14:44:23 +0300 |
| commit | a3ec09ac29b26ebd1cc1235f7ecdcd6a3d74cd60 (patch) | |
| tree | f8030c65c6cfe9e059dcb0ee0eaf7e0134c4ed61 /src/tuners/mod.rs | |
| parent | 6419d9db8b7e5eb29ccc92ac58a7288c91b74bad (diff) | |
Start implementing lots of R82xx logic
Diffstat (limited to 'src/tuners/mod.rs')
| -rw-r--r-- | src/tuners/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuners/mod.rs b/src/tuners/mod.rs index 626fc9e..9a7c9ce 100644 --- a/src/tuners/mod.rs +++ b/src/tuners/mod.rs @@ -18,7 +18,7 @@ pub trait Tuner { fn init(&self, handle: &RtlSdrDeviceHandle); fn exit(&self); fn set_freq(&self, freq: u32); - fn set_bw(&self, bw: u32, handle: &RtlSdrDeviceHandle); + fn set_bandwidth(&self, bw: u16, rate: u32, handle: &RtlSdrDeviceHandle); fn set_gain(&self, gain: u32); fn set_if_gain(&self, if_gain: u32); fn set_gain_mode(&self, mode: bool); |
