Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 7, 2023
1 parent 921876b commit 112ca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl WchLink {
};
self.send_command(cmd)?;

self.send_command(commands::Reset::ResetAndRun)?; // quit reset
self.send_command(commands::Reset::Soft)?; // quit reset
self.send_command(control::AttachChip)?;

let flash_protected = self.send_command(commands::ConfigChip::CheckReadProtect)?;
Expand Down

0 comments on commit 112ca8c

Please sign in to comment.