Commit 2e0dd2a2 authored by Claes Sjofors's avatar Claes Sjofors

Sevhist Trigger bugfix for sevobjects

parent acc325d8
...@@ -638,12 +638,12 @@ int rt_sevhistmon::send_data() ...@@ -638,12 +638,12 @@ int rt_sevhistmon::send_data()
dp = (sev_sHistData *) &msg->Data; dp = (sev_sHistData *) &msg->Data;
for ( unsigned int j = 0; j < m_hs[i].sevhistlist.size(); j++) { for ( unsigned int j = 0; j < m_hs[i].sevhistlist.size(); j++) {
if ( !m_hs[i].sevhistlist[j].hsp->Disable) { if ( !m_hs[i].sevhistlist[j].hsp->Disable) {
if ( m_hs[i].sevhistlist[j].hsp->Options & pwr_mSevOptionsMask_Event && if ( m_hs[i].sevhistlist[j].hsp->Options & pwr_mSevOptionsMask_Event) {
m_hs[i].sevhistlist[j].hsp->Trigger) if ( m_hs[i].sevhistlist[j].hsp->Trigger)
m_hs[i].sevhistlist[j].hsp->Trigger = 0; m_hs[i].sevhistlist[j].hsp->Trigger = 0;
else else
continue; continue;
}
dp->sevid = m_hs[i].sevhistlist[j].sevid; dp->sevid = m_hs[i].sevhistlist[j].sevid;
dp->type = m_hs[i].sevhistlist[j].type; dp->type = m_hs[i].sevhistlist[j].type;
dp->size = m_hs[i].sevhistlist[j].size; dp->size = m_hs[i].sevhistlist[j].size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment