summaryrefslogtreecommitdiff
path: root/src/devices/r820t.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/r820t.rs')
-rw-r--r--src/devices/r820t.rs4
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,