Skip to content

Commit

Permalink
esp-rs#349 Add UnixTight reset strategy.
Browse files Browse the repository at this point in the history
Add a #[cfg(unix)] I forgot (so it actually builds on windows).
  • Loading branch information
AVee committed Apr 16, 2023
1 parent de24719 commit 191a212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions espflash/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ impl Connection {
Ok(reset_after_flash(&mut self.serial, pid)?)
}

#[cfg(unix)]
fn classic_reset(&mut self, extra_delay: bool) -> Result<(), Error> {
info!(
"Attempting Classic reset with {} delay...",
Expand Down

0 comments on commit 191a212

Please sign in to comment.