Skip to content

Commit

Permalink
Merge pull request #26 from ergin-org/upstream/typos
Browse files Browse the repository at this point in the history
chore!: fix typos
  • Loading branch information
lulf authored Jan 1, 2025
2 parents 43c2cae + 86f03f1 commit 67158ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl ConnHandle {
}
}

/// A 16-bit duration. The `US` generic paramter indicates the timebase in µs.
/// A 16-bit duration. The `US` generic parameter indicates the timebase in µs.
#[repr(transparent)]
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
Expand Down
2 changes: 1 addition & 1 deletion src/param/le.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ param! {
param! {
bitfield LeDataRelatedAddrChangeReasons[1] {
(0, change_on_adv_data_change, set_change_addr_on_adv_data_changes);
(1, change_on_scan_repsonse_data_change, set_change_addr_on_scan_response_data_changes);
(1, change_on_scan_response_data_change, set_change_addr_on_scan_response_data_changes);
}
}

Expand Down
2 changes: 1 addition & 1 deletion update_uuids/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub const {}: BluetoothUuid16 = BluetoothUuid16::new(0x{:x});",

/// Update the Appearance values in the source code
///
/// Subcatagories are dealt with as submodules.
/// Subcategories are dealt with as submodules.
pub fn update_appearance(output_folder: &Path, input: &[Category], commit_hash: &str) -> Result<(), Box<dyn Error>> {
let output_folder = output_folder.join("appearance");
let (module_name, mut file) = setup_rust_file("categories", output_folder)?;
Expand Down

0 comments on commit 67158ea

Please sign in to comment.