diff options
| author | Yuval Adam <_@yuv.al> | 2021-04-16 17:43:32 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-04-17 10:33:57 +0300 |
| commit | cc3a300afcba8fffaee5feb5f56792cfd697bf28 (patch) | |
| tree | e73c759cc54ba3f59dcd5f765f03cb0f2163d5c6 /src/devices/r820t.rs | |
| parent | 01824ebaa3096d40a962b921ed239241f92e1076 (diff) | |
Dynamic dispatch of tuner
Diffstat (limited to 'src/devices/r820t.rs')
| -rw-r--r-- | src/devices/r820t.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/r820t.rs b/src/devices/r820t.rs index ad4720d..ec0f173 100644 --- a/src/devices/r820t.rs +++ b/src/devices/r820t.rs @@ -8,8 +8,10 @@ pub struct R820T<'a> { pub handle: &'a RtlSdrDeviceHandle, } +pub const TUNER_ID: &str = "r820t"; + pub const TUNER_INFO: TunerInfo = TunerInfo { - id: "r820t", + id: TUNER_ID, name: "Rafael Micro R820T", i2c_addr: 0x34, check_addr: 0x00, |
