mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-19 05:40:14 +10:00
Fixing Sahara issues & .NET Framework project files
This commit is contained in:
@@ -310,9 +310,9 @@ namespace WPinternals
|
||||
int count = 0;
|
||||
do
|
||||
{
|
||||
count++;
|
||||
try
|
||||
{
|
||||
count++;
|
||||
byte[] DoneResponse = Serial.SendCommand(DoneCommand, new byte[] { 0x06, 0x00, 0x00, 0x00 });
|
||||
Started = true;
|
||||
}
|
||||
@@ -320,7 +320,7 @@ namespace WPinternals
|
||||
{
|
||||
LogFile.Log("Problem while starting programmer. Attempting again.", LogType.FileAndConsole);
|
||||
}
|
||||
} while (!Started || count < 3);
|
||||
} while (!Started && count < 3);
|
||||
if (count >= 3 && !Started)
|
||||
{
|
||||
LogFile.Log("Maximum number of attempts to start the programmer exceeded.", LogType.FileAndConsole);
|
||||
|
||||
Reference in New Issue
Block a user