Minor updates

This commit is contained in:
Andrew Johnson
2016-09-05 15:38:16 -05:00
parent 5b74799605
commit 268e59b052
2 changed files with 10 additions and 3 deletions

View File

@@ -39,7 +39,9 @@ target field at that time.
Note that for most record types (the C<printf> and C<calcout> records are
exceptions) it is pointless to set an input link to a constant link at runtime
since the link initialization that loads the field value usually only happens
when a record is initialized.
when a record is initialized. A constant link that is embedded inside another
input link type such as a calculation link should be OK though since the link
initialization will take place when the record's field gets set.
=head4 Parameters

View File

@@ -353,11 +353,16 @@ static void lnkCalc_report(const jlink *pjlink, int level, int indent)
clink->units ? clink->units : "");
if (level > 0) {
if (clink->sevr)
printf("%*s Alarm: %s, %s\n", indent, "",
epicsAlarmSeverityStrings[clink->sevr],
epicsAlarmConditionStrings[clink->stat]);
if (clink->post_major)
printf("%*s Major alarm: \"%s\"\n", indent, "",
printf("%*s Major expression: \"%s\"\n", indent, "",
clink->major);
if (clink->post_minor)
printf("%*s Minor alarm: \"%s\"\n", indent, "",
printf("%*s Minor expression: \"%s\"\n", indent, "",
clink->minor);
for (i = 0; i < clink->nArgs; i++) {