Skip to content

Commit

Permalink
Bugfix for target reset (Closes #1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightwalker-87 committed Oct 17, 2024
1 parent 9e0516e commit 733893a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/st-flash/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ int32_t main(int32_t ac, char** av) {
if (stlink_reset(sl, RESET_AUTO)) {
printf("Failed to reset device\n");
goto on_error;
} else {
stlink_run(sl, RUN_NORMAL);
}

} else {
Expand Down

0 comments on commit 733893a

Please sign in to comment.