When initing new card wait yp to 3 seconds to read old values.
This commit is contained in:
@@ -137,8 +137,8 @@ LOCAL long init_1771Ofe(struct aoRecord *prec)
|
||||
"devAiAb1771Ife (init_record) startScan");
|
||||
break;
|
||||
}
|
||||
/*wait for up to 1 seconds*/
|
||||
for(failed=0; failed<10; failed++) {
|
||||
/*wait for up to 3 seconds*/
|
||||
for(failed=0; failed<30; failed++) {
|
||||
taskDelay(vxTicksPerSecond/10);
|
||||
drvStatus = (*pabDrv->getStatus)(drvPvt);
|
||||
if(drvStatus==abSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user