Skip to content

Conversation

ForsakenHarmony
Copy link
Contributor

No description provided.

@ForsakenHarmony ForsakenHarmony marked this pull request as ready for review October 26, 2021 02:32
@@ -828,7 +851,7 @@ impl Drop for EspWifi {
fn drop(&mut self) {
unsafe {
TAKEN.lock(|taken| {
self.clear_all().unwrap();
// self.clear_all().unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten debugging code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most likely, I think I ran into a crash related to this, but I don't remember for sure

@@ -301,6 +320,10 @@ impl EspWifi {
Ok(wifi)
}

pub fn set_power_save_mode(&mut self, mode: PowerSaveMode) -> Result<(), EspError> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for symmetry, perhaps implement also get_power_safe_mode?

@ivmarkov ivmarkov force-pushed the master branch 3 times, most recently from 8a8adba to 5ccb542 Compare July 5, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants