summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-07-23 21:04:00 +0300
committerYuval Adam <_@yuv.al>2018-07-23 21:04:00 +0300
commit957f0bfdd5d075abe73344ea2583c886f95322db (patch)
tree2df612149f85f652afd6036bbe8a5c06d1b586db /src/main.rs
parentf8eab2708f229d3187a0329983df7536c7bc0e01 (diff)
Add basic USB device discovery
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index ce80d1b..e1dfc5d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,6 @@ use lib::RtlSdr;
fn main() {
println!("Running");
- let rtlsdr = RtlSdr::new();
- rtlsdr.find();
+ let mut rtlsdr = RtlSdr::new();
+ rtlsdr.init();
}