Skip to content

Commit

Permalink
Reset STM32 after programming
Browse files Browse the repository at this point in the history
  • Loading branch information
pkendall64 committed Nov 10, 2021
1 parent 619def6 commit b201eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/WIFI/stmUpdateClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void STMUpdateClass::finish()
{
if (filename.endsWith(".elrs")) {
prog_mode_exit();
reset_stm32_to_app_mode();
} else if (filename.endsWith(".bin")) {
stm32_restart();
}
Expand Down

0 comments on commit b201eb3

Please sign in to comment.