Skip to content

Commit

Permalink
Fix some typos in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jpumc authored and surban committed Aug 30, 2022
1 parent 3d4046e commit 83ba941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bluer-tools/src/blumon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async fn main() -> Result<()> {
stdout(),
terminal::Clear(ClearType::All),
cursor::MoveTo(0, 0),
style::Print(format!("Discovering devices using Bluetooth adapater {}", adapter.name().blue()))
style::Print(format!("Discovering devices using Bluetooth adapter {}", adapter.name().blue()))
)
.unwrap();

Expand Down
6 changes: 3 additions & 3 deletions bluer-tools/src/gattcat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl AdaptersOpts {
let adapter_names = session.adapter_names().await?;
for adapter_name in adapter_names {
let adapter = session.adapter(&adapter_name)?;
println!("Bluetooth adapater {}", &adapter_name);
println!("Bluetooth adapter {}", &adapter_name);

print_if_some_20(
2,
Expand All @@ -369,7 +369,7 @@ impl AdaptersOpts {
print_if_some_20(2, "Friendly name", Some(adapter.alias().await?), "");

print_if_some_20(2, "Powered", Some(adapter.is_powered().await?), "");
print_if_some_20(2, "Discoverabe", Some(adapter.is_discoverable().await?), "");
print_if_some_20(2, "Discoverable", Some(adapter.is_discoverable().await?), "");
print_if_some_20(2, "Pairable", Some(adapter.is_pairable().await?), "");

println!(" Advertising");
Expand Down Expand Up @@ -447,7 +447,7 @@ fn char_flags_to_vec(f: &CharacteristicFlags) -> Vec<&'static str> {
v.push("write")
};
if f.write_without_response {
v.push("write without respone");
v.push("write without response");
}
if f.reliable_write {
v.push("reliable write");
Expand Down

0 comments on commit 83ba941

Please sign in to comment.