Skip to content

Commit 19c9ca5

Browse files
Merge pull request #52 from divadiow/erase_all
clarify "erase all" from address
2 parents 277c454 + b051cf5 commit 19c9ca5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

BK7231Flasher/FormMain.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ private void genericLinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
10681068

10691069
private void buttonEraseAll_Click(object sender, EventArgs e)
10701070
{
1071-
var res = MessageBox.Show("This will remove everything, including configuration of OBK and MAC address and RF partition. "+
1071+
var res = MessageBox.Show("This will remove everything from 0x11000, including configuration of OBK and MAC address and RF partition. "+
10721072
"You will need to do 'Restore RF partition' in OBK Web Application/Flash tab to get correct MAC. "+
10731073
"Do it if you have RF issues. Flash OBK after doing erase. This option might require lower bauds. ", "WARNING! NUKE CHIP?", MessageBoxButtons.YesNo);
10741074
if (res == DialogResult.Yes)
@@ -1177,7 +1177,7 @@ private void buttonStartScan_Click(object sender, EventArgs e)
11771177
}
11781178

11791179
private void textBoxScannerThreads_TextChanged(object sender, EventArgs e)
1180-
{
1180+
{
11811181
setMaxWorkersCountFromGUI();
11821182
}
11831183

@@ -1422,11 +1422,11 @@ private void buttonOTAFlash_Click(object sender, EventArgs e)
14221422
{
14231423
string fname = ("D:/OpenBK7231T_1.17.799.rbl");
14241424
buttonOTAFlash.Enabled = false;
1425-
string ip = textBoxOTATarget.Text;
1426-
OTAData data = new OTAData();
1425+
string ip = textBoxOTATarget.Text;
1426+
OTAData data = new OTAData();
14271427
data.ip = ip;
1428-
data.data = System.IO.File.ReadAllBytes(fname);
1429-
System.Threading.Thread thread = new System.Threading.Thread(ThreadOTA);
1428+
data.data = System.IO.File.ReadAllBytes(fname);
1429+
System.Threading.Thread thread = new System.Threading.Thread(ThreadOTA);
14301430
thread.Start(data);
14311431
}
14321432
public void ThreadOTA(object ocb)

0 commit comments

Comments
 (0)