Skip to content

Commit 92b9caf

Browse files
detect btn - not tested
1 parent b7754a1 commit 92b9caf

File tree

2 files changed

+33
-10
lines changed

2 files changed

+33
-10
lines changed

BK7231Flasher/FormMain.Designer.cs

Lines changed: 23 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BK7231Flasher/FormMain.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,7 @@ private void showAdvancedOptions(bool b)
12621262
buttonEraseAll.Visible = b;
12631263
buttonRestoreRF.Visible = b;
12641264
buttonBlankCheck.Visible = b;
1265+
buttonDetect.Visible = b;
12651266
checkBoxAllowBackup.Visible = b;
12661267
checkBoxOverwriteBootloader.Visible = b;
12671268
checkBoxSkipKeyCheck.Visible = b;
@@ -1770,5 +1771,14 @@ private void buttonVerify_Click(object sender, EventArgs e)
17701771
}
17711772
startWorkerThread(verifyThread, null);
17721773
}
1774+
1775+
private void buttonDetect_Click(object sender, EventArgs e)
1776+
{
1777+
CustomParms cp = new CustomParms();
1778+
cp.len = 0;
1779+
cp.ofs = 0;
1780+
cp.sourceFileName = "";
1781+
doCustomWrite(cp);
1782+
}
17731783
}
17741784
}

0 commit comments

Comments
 (0)