Skip to content
Merged
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
2 changes: 1 addition & 1 deletion espflash/src/flash_target/esp32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl FlashTarget for Esp32Target {

fn finish(&mut self, connection: &mut Connection, reboot: bool) -> Result<(), Error> {
connection.with_timeout(CommandType::FlashDeflateEnd.timeout(), |connection| {
connection.write_command(Command::FlashDeflateEnd { reboot: false })
connection.command(Command::FlashDeflateEnd { reboot: false })
})?;
if reboot {
connection.reset()
Expand Down