去掉没必要的重复内容
This commit is contained in:
@@ -1910,14 +1910,6 @@ namespace WinISP
|
|||||||
frmISP.WriteLog("flashSectorInfo built. sectorCount = " + flashSectorInfo.Count + ", sectorSize = " + _flashSectorSize, "debug");
|
frmISP.WriteLog("flashSectorInfo built. sectorCount = " + flashSectorInfo.Count + ", sectorSize = " + _flashSectorSize, "debug");
|
||||||
}
|
}
|
||||||
|
|
||||||
string checkErr;
|
|
||||||
if (!ValidateMonitorVsBin(out checkErr))
|
|
||||||
{
|
|
||||||
frmISP.WriteLog("[Validate-PreConnect] ValidateMonitorVsBin FAIL: " + checkErr, "error");
|
|
||||||
SetStatusMsg(checkErr, true);
|
|
||||||
btnAuto.Enabled = false;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
prbProgress.Maximum = flashSectorInfo.Count;
|
prbProgress.Maximum = flashSectorInfo.Count;
|
||||||
prbProgress.Value = 0;
|
prbProgress.Value = 0;
|
||||||
int imgNum = 0;
|
int imgNum = 0;
|
||||||
@@ -1973,15 +1965,6 @@ namespace WinISP
|
|||||||
case 1: { frmISP.WriteLog("MTKChipType=TSUM", "info"); } break;
|
case 1: { frmISP.WriteLog("MTKChipType=TSUM", "info"); } break;
|
||||||
case 2: { frmISP.WriteLog("MTKChipType=MST9U", "info"); } break;
|
case 2: { frmISP.WriteLog("MTKChipType=MST9U", "info"); } break;
|
||||||
}
|
}
|
||||||
string verifyErr;
|
|
||||||
if (!ValidateMonitorVsBin(out verifyErr))
|
|
||||||
{
|
|
||||||
frmISP.WriteLog("[Validate-PostConnect] ValidateMonitorVsBin FAIL: " + verifyErr, "error");
|
|
||||||
SetStatusMsg(verifyErr, true);
|
|
||||||
SetISPStatus(false);
|
|
||||||
btnAuto.Enabled = false;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Application.DoEvents();
|
Application.DoEvents();
|
||||||
//init file info
|
//init file info
|
||||||
|
|||||||
Reference in New Issue
Block a user