summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2021-04-17 15:06:16 +0300
committerYuval Adam <_@yuv.al>2021-04-17 15:06:16 +0300
commit46439763077ce7b656e8fae257f9c2205f23c6e5 (patch)
treec9c840bbae1834857c224234dc17352f6b310083
parent753ec73915f268f3994ebe73788ce844d22f164f (diff)
Add rustl_test binary
-rw-r--r--Cargo.toml4
-rw-r--r--src/utils/rustl_test.rs5
2 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 722a659..11c00b3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,3 +15,7 @@ path = "src/lib.rs"
[[bin]]
name = "rustl_fm"
path = "src/utils/rustl_fm.rs"
+
+[[bin]]
+name = "rustl_test"
+path = "src/utils/rustl_test.rs"
diff --git a/src/utils/rustl_test.rs b/src/utils/rustl_test.rs
new file mode 100644
index 0000000..669cc2a
--- /dev/null
+++ b/src/utils/rustl_test.rs
@@ -0,0 +1,5 @@
+pub fn main() {
+ println!("Starting rustl_test");
+ let mut r = rustl_sdr::RtlSdr::new();
+ r.open();
+}