Skip to content

Commit

Permalink
fix for #518
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Nov 22, 2024
1 parent 692e837 commit 3f2ce04
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/bt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use core::sync::atomic::{AtomicBool, Ordering};
use alloc::boxed::Box;
use alloc::sync::Arc;

use log::info;
use ::log::info;

use num_enum::TryFromPrimitive;

Expand Down
3 changes: 2 additions & 1 deletion src/bt/a2dp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ use core::convert::TryInto;
use core::fmt::{self, Debug};
use core::marker::PhantomData;

use log::{debug, info};
use ::log::{debug, info};

use num_enum::TryFromPrimitive;

use crate::bt::{BtClassicEnabled, BtDriver};
Expand Down
2 changes: 1 addition & 1 deletion src/bt/avrc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ pub mod controller {

use enumset::EnumSet;

use log::info;
use ::log::info;

use crate::bt::{BdAddr, BtClassicEnabled, BtDriver, BtSingleton};

Expand Down
2 changes: 1 addition & 1 deletion src/bt/ble/gap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use core::{ffi::CStr, ops::BitOr};
use crate::bt::BtSingleton;
use crate::sys::*;

use log::debug;
use ::log::debug;

use crate::{
bt::{BdAddr, BleEnabled, BtDriver, BtStatus, BtUuid},
Expand Down
2 changes: 1 addition & 1 deletion src/bt/ble/gatt/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use core::borrow::Borrow;
use core::fmt::{self, Debug};
use core::marker::PhantomData;

use log::{debug, trace};
use ::log::{debug, trace};

use crate::bt::{BdAddr, BleEnabled, BtDriver, BtSingleton, BtUuid};
use crate::sys::*;
Expand Down
2 changes: 1 addition & 1 deletion src/bt/gap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use enumset::{EnumSet, EnumSetType};

use crate::sys::*;

use log::debug;
use ::log::debug;

use num_enum::TryFromPrimitive;

Expand Down
2 changes: 1 addition & 1 deletion src/bt/hfp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod client {

use crate::sys::*;

use log::{debug, info};
use ::log::{debug, info};

use num_enum::TryFromPrimitive;

Expand Down
2 changes: 1 addition & 1 deletion src/eventloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ mod async_wait {

use esp_idf_hal::task::asynch::Notification;

use log::debug;
use ::log::debug;

use super::{EspEventDeserializer, EspEventLoop, EspEventLoopType, EspSubscription};
use crate::sys::{esp, EspError, ESP_ERR_TIMEOUT};
Expand Down
2 changes: 1 addition & 1 deletion src/fs/fatfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use alloc::boxed::Box;

use config::{FatFsType, FormatConfiguration};

use log::warn;
use ::log::warn;

use crate::hal::sd::SdCardDriver;
use crate::sys::*;
Expand Down
2 changes: 1 addition & 1 deletion src/netif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ where
mod driver {
use core::borrow::BorrowMut;

use log::debug;
use ::log::debug;

use crate::handle::RawHandle;
use crate::sys::*;
Expand Down
2 changes: 1 addition & 1 deletion src/private/zerocopy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use alloc::sync::{Arc, Weak};

use esp_idf_hal::task::asynch::Notification;

use log::info;
use ::log::info;

pub struct Receiver<T>(Weak<Channel<T>>)
where
Expand Down
2 changes: 1 addition & 1 deletion src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use core::fmt::Debug;
use core::marker::PhantomData;
use core::mem::MaybeUninit;

use log::debug;
use ::log::debug;

use crate::eventloop::{EspEventDeserializer, EspEventSource, EspSystemEventLoop};
use crate::hal::delay;
Expand Down

0 comments on commit 3f2ce04

Please sign in to comment.