Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 12, 2024
1 parent e60d5ef commit 41e9cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
//! - `embassy-time-queue-queue`
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(async_fn_in_trait)]
//#![allow(unknown_lints)]
#![warn(clippy::large_futures)]

#[cfg(feature = "alloc")]
Expand Down
3 changes: 1 addition & 2 deletions src/wifi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,7 @@ impl<'d> WifiDriver<'d> {
let cfg = wifi_init_config_t {
#[cfg(esp_idf_version_major = "4")]
event_handler: Some(esp_event_send_internal),
#[allow(static_mut_ref)]
osi_funcs: unsafe { &mut g_wifi_osi_funcs },
osi_funcs: unsafe { core::ptr::addr_of_mut!(g_wifi_osi_funcs) },
wpa_crypto_funcs: unsafe { g_wifi_default_wpa_crypto_funcs },
static_rx_buf_num: CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM as _,
dynamic_rx_buf_num: CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM as _,
Expand Down

0 comments on commit 41e9cbc

Please sign in to comment.