- IED server: added missing call to getNextRoundedStartTime (LIB61850-323)

v1.6_develop_rgoose_sntp
Michael Zillgith 3 years ago
parent ec2f34cb9c
commit 6dfd49991d

@ -3830,7 +3830,12 @@ processEventsForReport(ReportControl* rc, uint64_t currentTimeInMs)
rc->triggered = false; rc->triggered = false;
} }
rc->nextIntgReportTime = rc->nextIntgReportTime + rc->intgPd; if (rc->server->syncIntegrityReportTimes) {
rc->nextIntgReportTime = getNextRoundedStartTime(currentTimeInMs, rc->intgPd);
}
else {
rc->nextIntgReportTime = rc->nextIntgReportTime + rc->intgPd;
}
/* check for system time change effects */ /* check for system time change effects */
if ((rc->nextIntgReportTime < currentTimeInMs) || (rc->nextIntgReportTime > currentTimeInMs + rc->intgPd)) { if ((rc->nextIntgReportTime < currentTimeInMs) || (rc->nextIntgReportTime > currentTimeInMs + rc->intgPd)) {

Loading…
Cancel
Save