Skip to content

Commit

Permalink
fix: add missing import for scan feature
Browse files Browse the repository at this point in the history
Fix an issue where the scan feature did not import the required
dependency, and add combination to CI.
  • Loading branch information
lulf committed Jan 14, 2025
1 parent 060514f commit c785ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fi
cargo batch \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features peripheral \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central,scan \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central,peripheral \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central,peripheral,defmt \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features gatt,peripheral \
Expand Down
2 changes: 1 addition & 1 deletion host/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use bt_hci::{ControllerToHostPacket, FromHciBytes, WriteHci};
use embassy_futures::select::{select3, select4, Either3, Either4};
use embassy_sync::once_lock::OnceLock;
use embassy_sync::waitqueue::WakerRegistration;
#[cfg(feature = "gatt")]
#[cfg(any(feature = "gatt", feature = "scan"))]
use embassy_sync::{blocking_mutex::raw::NoopRawMutex, channel::Channel};
use futures::pin_mut;

Expand Down

0 comments on commit c785ab3

Please sign in to comment.