mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-22 06:32:01 +00:00
PC app: increase maximum wait time for operations
This fixes reading erased ATF750C when using sparse fusemap.
This commit is contained in:
parent
e99494df09
commit
5f2105680f
@ -921,7 +921,7 @@ static char operationWriteOrVerify(char doWrite) {
|
||||
|
||||
// write command
|
||||
if (doWrite) {
|
||||
result = sendGenericCommand("w\r", "write failed ?", 6000, 0);
|
||||
result = sendGenericCommand("w\r", "write failed ?", 8000, 0);
|
||||
if (result) {
|
||||
goto finish;
|
||||
}
|
||||
@ -929,7 +929,7 @@ static char operationWriteOrVerify(char doWrite) {
|
||||
|
||||
// verify command
|
||||
if (opVerify) {
|
||||
result = sendGenericCommand("v\r", "verify failed ?", 6000, 0);
|
||||
result = sendGenericCommand("v\r", "verify failed ?", 8000, 0);
|
||||
}
|
||||
finish:
|
||||
closeSerial();
|
||||
@ -1166,7 +1166,7 @@ static char operationReadFuses(void) {
|
||||
|
||||
//READ_FUSE command
|
||||
sprintf(buf, "r\r");
|
||||
readSize = sendLine(buf, GALBUFSIZE, 8000);
|
||||
readSize = sendLine(buf, GALBUFSIZE, 12000);
|
||||
if (readSize < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user