Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
taks committed Nov 8, 2023
1 parent 8cacbf7 commit c1a683b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ble_security.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl BLESecurity {

/// Set the keys we are willing to accept during pairing.
pub fn set_security_resp_key(&mut self, resp_key: enums::PairKeyDist) -> &mut Self {
unsafe { esp_idf_sys::ble_hs_cfg.sm_their_key_dist = init_key.bits() };
unsafe { esp_idf_sys::ble_hs_cfg.sm_their_key_dist = resp_key.bits() };
self
}
}

0 comments on commit c1a683b

Please sign in to comment.