Skip to content

Commit e2627fd

Browse files
committed
typos, some (2-3) possible bugs
1 parent 6bcfb00 commit e2627fd

File tree

27 files changed

+55
-80
lines changed

27 files changed

+55
-80
lines changed

examples/apps/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ bt-hci = { version = "0.6" }
1010
embassy-futures = "0.1.1"
1111
embassy-sync = { version = "0.7" }
1212
embassy-time = "0.5"
13-
#embedded-hal = "1.0"
1413
embedded-hal-async = "1.0"
1514
static_cell = "2"
16-
#embedded-io = "0.6"
1715
heapless = "0.9"
1816
rand_core = { version = "0.6", default-features = false }
1917

@@ -30,8 +28,6 @@ defmt = [
3028
"dep:defmt",
3129
"trouble-host/defmt",
3230
"bt-hci/defmt",
33-
#"embedded-io/defmt-03",
34-
#"embedded-hal/defmt-03"
3531
]
3632
log = [
3733
"dep:log",

examples/apps/src/ble_beacon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// A beacon is a device that advertises packets that are constantly being
44
// updated to reflect the current state of the device, but usually does not
5-
// accept any conections. This allows broadcasting device information.
5+
// accept any connections. This allows broadcasting device information.
66
//
77

88
use bt_hci::cmd::le::*;

examples/esp32/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nrf-sdc/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nrf-sdc/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,9 @@ debug = 2
3434

3535
[patch.crates-io]
3636
#embassy-executor = {path = "../../../embassy/embassy-executor"}
37-
#embassy-time-queue-utils = {path = "../../../embassy/embassy-time-queue-utils"}
3837
#embassy-sync = {path = "../../../embassy/embassy-sync"}
3938
#embassy-futures = {path = "../../../embassy/embassy-futures"}
4039
#embassy-time = {path = "../../../embassy/embassy-time"}
41-
#embassy-time-driver = {path = "../../../embassy/embassy-time-driver"}
42-
#embassy-embedded-hal = {path = "../../../embassy/embassy-embedded-hal"}
43-
#embassy-hal-internal = {path = "../../../embassy/embassy-hal-internal"}
4440
nrf-sdc = { git = "https://github.com/alexmoon/nrf-sdc.git", rev = "1bc7380cd5d7a031f37511b69da13fc6caded816"}
4541
nrf-mpsl = { git = "https://github.com/alexmoon/nrf-sdc.git", rev = "1bc7380cd5d7a031f37511b69da13fc6caded816"}
4642
#bt-hci = { git = "https://github.com/embassy-rs/bt-hci.git", rev = "83a9e179ff019ed60abb73705f54383f89fc60fc" }

examples/rp-pico-2-w/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,9 @@ debug = 2
3939

4040
[patch.crates-io]
4141
#embassy-executor = {path = "../../../embassy/embassy-executor"}
42-
#embassy-nrf = {path = "../../../embassy/embassy-nrf"}
4342
#embassy-sync = {path = "../../../embassy/embassy-sync"}
4443
#embassy-futures = {path = "../../../embassy/embassy-futures"}
4544
#embassy-time = {path = "../../../embassy/embassy-time"}
46-
#embassy-time-driver = {path = "../../../embassy/embassy-time-driver"}
47-
#embassy-embedded-hal = {path = "../../../embassy/embassy-embedded-hal"}
48-
#embassy-hal-internal = {path = "../../../embassy/embassy-hal-internal"}
49-
#nrf-sdc = { path = "../../../nrf-sdc/nrf-sdc" }
50-
#nrf-mpsl = { path = "../../../nrf-sdc/nrf-mpsl" }
51-
#bt-hci = { path = "../../../bt-hci" }
5245
cyw43 = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
5346
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
5447
embassy-time-driver = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }

examples/rp-pico-w/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ debug = 2
4141
#embassy-sync = {path = "../../../embassy/embassy-sync"}
4242
#embassy-futures = {path = "../../../embassy/embassy-futures"}
4343
#embassy-time = {path = "../../../embassy/embassy-time"}
44-
#embassy-time-driver = {path = "../../../embassy/embassy-time-driver"}
45-
#embassy-embedded-hal = {path = "../../../embassy/embassy-embedded-hal"}
46-
#embassy-hal-internal = {path = "../../../embassy/embassy-hal-internal"}
4744
#cyw43 = {path = "../../../embassy/cyw43"}
4845
#cyw43-pio = {path = "../../../embassy/cyw43-pio"}
4946
cyw43 = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
@@ -54,7 +51,3 @@ embassy-rp = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad6
5451
cyw43-pio = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
5552
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
5653
embassy-futures = { git = "https://github.com/embassy-rs/embassy.git", rev = "faacad613ea26a28de216cf32ac4cc64f7862d4c" }
57-
#nrf-sdc = { path = "../../../nrf-sdc/nrf-sdc" }
58-
#nrf-mpsl = { path = "../../../nrf-sdc/nrf-mpsl" }
59-
#bt-hci = { path = "../../../bt-hci" }
60-
#bt-hci = { git = "https://github.com/embassy-rs/bt-hci.git", rev = "83a9e179ff019ed60abb73705f54383f89fc60fc" }

host-macros/src/ctxt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl Ctxt {
3131
}
3232
}
3333

34-
/// Add an error to the context object with a tokenenizable object.
34+
/// Add an error to the context object with a tokenizable object.
3535
///
3636
/// The object is used for spanning in error messages.
3737
pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) {

host/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ embassy-sync = "0.7"
2626
embassy-time = "0.5"
2727
embassy-futures = "0.1"
2828
futures = { version = "0.3", default-features = false }
29-
heapless = "0.9"
29+
heapless = "0.9" # "gatt", "security"
3030
trouble-host-macros = { path = "../host-macros", version = "0.3.0", optional = true }
3131
p256 = { version = "0.13.2", default-features = false, features = ["ecdh","arithmetic"], optional = true }
32+
rand = { version="0.8", default-features = false, optional = true }
3233
rand_core = "0.6"
3334
rand_chacha = { version = "0.3", default-features = false, optional = true }
34-
rand = { version="0.8", default-features = false, optional = true}
3535
static_cell = "2.1.0"
3636
zerocopy = "0.8.21"
3737

@@ -51,9 +51,7 @@ tokio-serial = "5.4"
5151
env_logger = "0.11"
5252
critical-section = { version = "1", features = ["std"] } # needed for CI builds
5353
rand = "0.8.5"
54-
rand_core = { version = "0.6", features = ["getrandom"]}
55-
heapless = "0.9"
56-
embassy-executor = { version = "0.9", features = ["arch-std", "executor-thread"]}
54+
rand_core = { version = "0.6", features = ["getrandom"] }
5755
embassy-time = { version = "0.5", features = ["std", "generic-queue-8"] }
5856

5957
[features]

host/src/advertise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub enum TxPower {
3535
Plus20dBm = 20,
3636
}
3737

38-
/// Configuriation for a single advertisement set.
38+
/// Configuration for a single advertisement set.
3939
#[derive(Debug, Clone)]
4040
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
4141
pub struct AdvertisementSet<'d> {

0 commit comments

Comments
 (0)