Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ambiguous name error #547

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down
4 changes: 2 additions & 2 deletions src/wifi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down
Loading