From 34a98b0a4f94d6e22481d9ade3cdace409cdb824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Fri, 27 Oct 2023 15:26:22 +0200 Subject: [PATCH] Simplify import --- esp-wifi/src/ble/btdm.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/esp-wifi/src/ble/btdm.rs b/esp-wifi/src/ble/btdm.rs index 4af90fc6..f76f327c 100644 --- a/esp-wifi/src/ble/btdm.rs +++ b/esp-wifi/src/ble/btdm.rs @@ -5,6 +5,7 @@ use critical_section::Mutex; use crate::ble::btdm::ble_os_adapter_chip_specific::G_OSI_FUNCS; use crate::ble::HciOutCollector; use crate::ble::HCI_OUT_COLLECTOR; +use crate::hal::macros::ram; use crate::{ binary::include::*, compat::{common::str_from_c, queue::SimpleQueue, work_queue::queue_work}, @@ -12,15 +13,6 @@ use crate::{ timer::yield_task, }; -#[cfg(esp32)] -use esp32_hal as hal; -#[cfg(esp32c3)] -use esp32c3_hal as hal; -#[cfg(esp32s3)] -use esp32s3_hal as hal; - -use hal::macros::ram; - #[cfg_attr(esp32c3, path = "os_adapter_esp32c3.rs")] #[cfg_attr(esp32s3, path = "os_adapter_esp32s3.rs")] #[cfg_attr(esp32, path = "os_adapter_esp32.rs")]