Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Sep 7, 2023
1 parent 72599e0 commit c78aec8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion esp-wifi/src/ble/npl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,8 @@ pub(crate) fn ble_init() {
// probably long term we should rather initialize syscall_table_ptr
#[cfg(esp32c2)]
{
*(r_ble_stub_funcs_ptr.offset(0x7dc / 4)) = self::ble_os_adapter_chip_specific::ble_ll_random_override as *const u32 as u32;
*(r_ble_stub_funcs_ptr.offset(0x7dc / 4)) =
self::ble_os_adapter_chip_specific::ble_ll_random_override as *const u32 as u32;
}

// this is a workaround for an unclear problem
Expand Down
6 changes: 1 addition & 5 deletions esp-wifi/src/ble/os_adapter_esp32c6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ pub(super) unsafe extern "C" fn esp_intr_alloc(
) -> i32 {
debug!(
"esp_intr_alloc {} {} {:?} {:?} {:?}",
source,
flags,
handler,
arg,
ret_handle
source, flags, handler, arg, ret_handle
);

match source {
Expand Down

0 comments on commit c78aec8

Please sign in to comment.