Skip to content

Commit

Permalink
Fix ambiguous name error (#547)
Browse files Browse the repository at this point in the history
* Fix ambiguous name error

* Update changelog
  • Loading branch information
taks authored Jan 6, 2025
1 parent 0115297 commit 40ab831
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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

0 comments on commit 40ab831

Please sign in to comment.