Skip to content

Commit

Permalink
stub: adjust get_device_path signature to original
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslashev committed Oct 31, 2023
1 parent 025b6ba commit 50c7480
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hal/stub/usbboot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ pub(crate) fn extract_one_device<T>(devices: &[T]) -> Result<&T, FwUpdateError>
}
}

pub async fn get_device_path<I: IntoIterator<Item = &'static str>>(
allowed_vendors: I,
) -> Result<PathBuf, FwUpdateError> {
pub async fn get_device_path(_allowed_vendors: &[&str]) -> Result<PathBuf, FwUpdateError> {
Ok(PathBuf::from("/tmp/stubbed"))
}

0 comments on commit 50c7480

Please sign in to comment.