From 566d70bf9c48bac211e1c04190b1075fed80b307 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Wed, 9 Apr 1997 18:33:49 +0000 Subject: [PATCH] Restore original --- src/dev/devCommonGpib.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/dev/devCommonGpib.c b/src/dev/devCommonGpib.c index c67bc9ea9..cf97e14ed 100644 --- a/src/dev/devCommonGpib.c +++ b/src/dev/devCommonGpib.c @@ -1953,15 +1953,7 @@ struct gpibDpvt *pdpvt; /* go access board with this message, unless convert was unsuccessful */ /* NOTE the use of val instead of rval for the EFASTO operation index! */ - /* P1 will be max number of P3 strings*/ - if(pCmd->P3 && (pCmd->P1<=0)) {/*determine max number of P3 strings*/ - int i=0; - while(pCmd->P3[i] !=NULL) i++; - pCmd->P1 = i; - } - if(pmbbo->val >= pCmd->P1) cnvrtStat = ERROR; - if( (cnvrtStat == ERROR) - || (devGpibLib_xxGpibWork(pdpvt, pCmd->type, pmbbo->val) == ERROR)) + if ((cnvrtStat == ERROR) || (devGpibLib_xxGpibWork(pdpvt, pCmd->type, pmbbo->val) == ERROR)) { devGpibLib_setPvSevr(pmbbo,WRITE_ALARM,VALID_ALARM); }