From 67be0e6f3f855e3e503f63cbe8914f50c53c4f5f Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Fri, 22 Nov 2024 13:39:16 +0000 Subject: [PATCH] fix for #518 --- src/adc.rs | 2 +- src/interrupt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adc.rs b/src/adc.rs index 39bfbc0f710..f0f8b6d630b 100644 --- a/src/adc.rs +++ b/src/adc.rs @@ -823,7 +823,7 @@ pub mod oneshot { /// Continuous ADC module /// Example: continuously reading value from a pin /// ``` -/// use log::{info, debug}; +/// use ::log::{info, debug}; /// /// fn main() -> anyhow::Result<()> { /// use esp_idf_svc::hal::adc::{AdcContConfig, AdcContDriver, AdcMeasurement, Attenuated}; diff --git a/src/interrupt.rs b/src/interrupt.rs index cf3d1455d21..9f11d1915ac 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -304,7 +304,7 @@ pub mod asynch { use esp_idf_sys::EspError; - use log::info; + use ::log::info; use crate::{ cpu::Core,