Skip to content

Commit

Permalink
Fix firmware write esp
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Feb 18, 2024
1 parent 8576854 commit 71b7012
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,14 @@ protected override async ValueTask ExecuteCommand()
|| Path.GetFileName(IndividualFile) == F7FirmwarePackageCollection.F7FirmwareFiles.CoprocApplicationFile
|| Path.GetFileName(IndividualFile) == F7FirmwarePackageCollection.F7FirmwareFiles.CoprocBootloaderFile)
{
await connection.RuntimeDisable();
if(connection == null)
{
connection = await GetConnectionAndDisableRuntime();
}
else
{
await connection.RuntimeDisable();
}

await WriteEspFiles(connection, deviceInfo, package);
}
Expand Down

0 comments on commit 71b7012

Please sign in to comment.