Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer committed Oct 10, 2024
1 parent 06d247d commit 98ca695
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ license = "Apache-2.0"
repository = "https://github.com/FutureSDR/seify"

[features]
# default = ["soapy"]
default = ["hackrfone"]
default = ["soapy"]
rtlsdr = ["dep:seify-rtlsdr"]
hackrfone = ["dep:seify-hackrfone"]
aaronia = ["dep:aaronia-rtsa"]
Expand Down
2 changes: 1 addition & 1 deletion crates/seify-hackrfone
9 changes: 5 additions & 4 deletions src/impls/hackrfone.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
use std::{
os::fd::{FromRawFd, OwnedFd},
sync::{Arc, Mutex},
};
use std::sync::{Arc, Mutex};

use num_complex::Complex32;
use seify_hackrfone::Config;
Expand Down Expand Up @@ -34,6 +31,9 @@ impl HackRfOne {
pub fn open<A: TryInto<Args>>(args: A) -> Result<Self, Error> {
let args: Args = args.try_into().or(Err(Error::ValueError))?;

// TODO(troy):
// re-enable once new version of nusb is published: https://github.com/kevinmehall/nusb/issues/84
/*
if let Ok(fd) = args.get::<i32>("fd") {
let fd = unsafe { OwnedFd::from_raw_fd(fd) };
Expand All @@ -45,6 +45,7 @@ impl HackRfOne {
}),
});
}
*/

let bus_number = args.get("bus_number");
let address = args.get("address");
Expand Down

0 comments on commit 98ca695

Please sign in to comment.