removed obsolete event throttling code

This commit is contained in:
Marty Kraimer
1996-09-04 15:23:22 +00:00
parent 036cd8dd26
commit 50ace741fe
2 changed files with 0 additions and 24 deletions

View File

@@ -201,18 +201,6 @@ static long process(void *precord)
return(S_dev_missingSup);
}
/* event throttling */
/*Will not work with new event systems*/
/*
if (pai->scan == SCAN_IO_EVENT) {
if ((pai->evnt != 0) && (gts_trigger_counter != 0)){
if ((gts_trigger_counter % pai->evnt) != 0){
return(0);
}
}
}
*/
status=readValue(pai); /* read the new value */
/* check if device support set pact */
if ( !pact && pai->pact ) return(0);

View File

@@ -216,18 +216,6 @@ static long process(pwf)
recGblRecordError(S_dev_missingSup,(void *)pwf,"read_wf");
return(S_dev_missingSup);
}
/* event throttling */
/* will not work with new event system*/
/*
if (pwf->scan == SCAN_IO_EVENT){
if ((pwf->evnt != 0) && (gts_trigger_counter != 0)){
if ((gts_trigger_counter % pwf->evnt) != 0){
status=readValue(pwf);
return(0);
}
}
}
*/
if ( pact && pwf->busy ) return(0);