db_post_event had illegal arg for val field
This commit is contained in:
@@ -267,7 +267,7 @@ static void monitor(pdfanout)
|
||||
monitor_mask = recGblResetAlarms(pdfanout);
|
||||
monitor_mask |= (DBE_LOG|DBE_VALUE);
|
||||
if(monitor_mask)
|
||||
db_post_events(pdfanout,pdfanout->val,monitor_mask);
|
||||
db_post_events(pdfanout,&pdfanout->val,monitor_mask);
|
||||
|
||||
/* check for value change */
|
||||
delta = pdfanout->mlst - pdfanout->val;
|
||||
|
||||
@@ -256,7 +256,7 @@ static void monitor(pmbbiDirect)
|
||||
monitor_mask = recGblResetAlarms(pmbbiDirect);
|
||||
monitor_mask |= (DBE_LOG|DBE_VALUE);
|
||||
if(monitor_mask)
|
||||
db_post_events(pmbbiDirect,pmbbiDirect->val,monitor_mask);
|
||||
db_post_events(pmbbiDirect,&pmbbiDirect->val,monitor_mask);
|
||||
|
||||
/* check for value change */
|
||||
if (pmbbiDirect->mlst != pmbbiDirect->val) {
|
||||
|
||||
Reference in New Issue
Block a user