Skip to content

Commit a56ae9f

Browse files
leibeiyijessebraham
authored andcommitted
fix bug esp-rs#149
1 parent 7d92102 commit a56ae9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espflash/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Connection {
9090
self.with_timeout(CommandType::Sync.timeout(), |connection| {
9191
connection.write_command(Command::Sync)?;
9292
connection.flush()?;
93-
93+
sleep(Duration::from_millis(10));
9494
for _ in 0..100 {
9595
match connection.read_response()? {
9696
Some(response) if response.return_op == CommandType::Sync as u8 => {

0 commit comments

Comments
 (0)