Skip to content

Commit

Permalink
bring back typed line
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer authored and bastibl committed Oct 10, 2024
1 parent 4a299b4 commit 6b90c6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/rx_typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {

let rtl = rtlsdr::RtlSdr::open(cli.args)?;
let dev = Device::from_impl(rtl);
// Get typed reference to device impl
// let _r : &seify::impls::RtlSdr = dev.impl_ref().unwrap();

dev.enable_agc(Rx, 0, true)?;
dev.set_frequency(Rx, 0, 101e6)?;
Expand Down

0 comments on commit 6b90c6f

Please sign in to comment.