db_post_event had illegal arg for val field
This commit is contained in:
1 parent
6c21758d23
commit
79c01170e8
2 files changed
+2
-2
No files matched your search
@@ -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