Skip to content

Commit

Permalink
Merge pull request #3211 from busslina/original-mirror-main-fixing-mi…
Browse files Browse the repository at this point in the history
…ssing-reexport

Fixing missing re-export
  • Loading branch information
Dirbaio authored Jul 25, 2024
2 parents 8c4f044 + 29d79d3 commit b88dc13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cyw43/src/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ pub enum ScanType {
Passive,
}

/// Scan options.
#[derive(Clone)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct ScanOptions {
/// SSID to scan for.
pub ssid: Option<heapless::String<32>>,
/// If set to `None`, all APs will be returned. If set to `Some`, only APs
/// with the specified BSSID will be returned.
Expand Down
2 changes: 1 addition & 1 deletion cyw43/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use ioctl::IoctlState;

use crate::bus::Bus;
pub use crate::bus::SpiBusCyw43;
pub use crate::control::{AddMulticastAddressError, Control, Error as ControlError, Scanner};
pub use crate::control::{AddMulticastAddressError, Control, Error as ControlError, ScanOptions, Scanner};
pub use crate::runner::Runner;
pub use crate::structs::BssInfo;

Expand Down

0 comments on commit b88dc13

Please sign in to comment.