Skip to content

Commit 2f090ff

Browse files
committed
Run cargo fix
1 parent c4feaf3 commit 2f090ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/wifi_dpp.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ impl<'d, 'w> EspDppBootstrapper<'d, 'w> {
9393
};
9494
debug!("dpp_bootstrap_gen...");
9595
esp!(unsafe {
96-
esp_supp_dpp_bootstrap_gen(
97-
channels_cstr.as_ptr(),
98-
dpp_bootstrap_type_DPP_BOOTSTRAP_QR_CODE,
99-
key_ascii_cstr.map_or_else(ptr::null, |x| x.as_ptr()),
100-
associated_data_cstr.map_or_else(ptr::null, |x| x.as_ptr()))
101-
})?;
96+
esp_supp_dpp_bootstrap_gen(
97+
channels_cstr.as_ptr(),
98+
dpp_bootstrap_type_DPP_BOOTSTRAP_QR_CODE,
99+
key_ascii_cstr.map_or_else(ptr::null, |x| x.as_ptr()),
100+
associated_data_cstr.map_or_else(ptr::null, |x| x.as_ptr()))
101+
})?;
102102
let event = self.events_rx.recv()
103103
.map_err(|_| {
104104
warn!("Internal error receiving event!");

0 commit comments

Comments
 (0)