Made reporting of hardware more consistant
This commit is contained in:
@@ -95,7 +95,6 @@ struct aoRecord *pao;
|
||||
static long write_ao(pao)
|
||||
struct aoRecord *pao;
|
||||
{
|
||||
char message[100];
|
||||
long status;
|
||||
/* added for Channel Access Links */
|
||||
long options;
|
||||
@@ -120,9 +119,8 @@ long nrequest;
|
||||
default :
|
||||
if(recGblSetSevr(pao,SOFT_ALARM,VALID_ALARM)){
|
||||
if(pao->stat!=SOFT_ALARM) {
|
||||
strcpy(message,pao->name);
|
||||
strcat(message,": devAoSoft (write_ao) Illegal OUT field");
|
||||
errMessage(S_db_badField,message);
|
||||
recGblRecordError(S_db_badField,pao,
|
||||
"devAoSoft (write_ao) Illegal OUT field");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user