diff options
| author | Yuval Adam <_@yuv.al> | 2021-04-16 17:23:10 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-04-17 10:33:57 +0300 |
| commit | 01824ebaa3096d40a962b921ed239241f92e1076 (patch) | |
| tree | 1b3d9f810b5086e52678fbed7f6e96e9e39d4cdf /src/devices/mod.rs | |
| parent | 199f7cfb5749a1810db7923780e5a65eb17b8e11 (diff) | |
Implement search_tuner()
Diffstat (limited to 'src/devices/mod.rs')
| -rw-r--r-- | src/devices/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/mod.rs b/src/devices/mod.rs index a48531d..cbd7edf 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -1,7 +1,7 @@ pub mod fc0013; pub mod r820t; -pub struct DeviceInfo { +pub struct TunerInfo { pub id: &'static str, pub name: &'static str, pub i2c_addr: u8, @@ -9,7 +9,7 @@ pub struct DeviceInfo { pub check_val: u8, } -pub trait Device { +pub trait Tuner { fn init(&self); fn exit(&self); fn set_freq(&self, freq: u32); |
