From a6c52031648865784e5e738a2c2f131d480aa019 Mon Sep 17 00:00:00 2001 From: taks <857tn859@gmail.com> Date: Mon, 6 Jan 2025 09:55:56 +0900 Subject: [PATCH 1/2] Fix ambiguous name error --- src/eth.rs | 4 ++-- src/wifi.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eth.rs b/src/eth.rs index 6ef219c001d..9053852af50 100644 --- a/src/eth.rs +++ b/src/eth.rs @@ -1047,9 +1047,9 @@ impl<'d, T> EthDriver<'d, T> { })?; if state { - log::info!("Driver set in promiscuous mode"); + info!("Driver set in promiscuous mode"); } else { - log::info!("Driver set in non-promiscuous mode"); + info!("Driver set in non-promiscuous mode"); } Ok(()) diff --git a/src/wifi.rs b/src/wifi.rs index 27f6b8898ad..60423fd8398 100644 --- a/src/wifi.rs +++ b/src/wifi.rs @@ -1201,9 +1201,9 @@ impl<'d> WifiDriver<'d> { esp!(unsafe { esp_wifi_set_promiscuous(state) })?; if state { - log::info!("Driver set in promiscuous mode"); + info!("Driver set in promiscuous mode"); } else { - log::info!("Driver set in non-promiscuous mode"); + info!("Driver set in non-promiscuous mode"); } Ok(()) From d56aacdb25bacb2530bc5a3042939ca7d5b6d417 Mon Sep 17 00:00:00 2001 From: taks <857tn859@gmail.com> Date: Mon, 6 Jan 2025 10:43:36 +0900 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 672e2a26897..2dbbc7cf14f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- Fix ambiguous name error (a compilation issue when the NimBLE component is enabled in esp-idf-sys) + ## [0.50.0] - 2025-01-02 ### Deprecated