Skip to content

Commit

Permalink
bring back typed line
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer committed Oct 6, 2024
1 parent b4b7502 commit b1dd445
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 b1dd445

Please sign in to comment.