Skip to content

Commit

Permalink
Fix: set missing gbtErrStatUpadated in accountLinkRecovery
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Aug 15, 2023
1 parent 16fe210 commit 915a2c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Detectors/ITSMFT/common/reconstruction/src/GBTLink.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ uint8_t GBTLink::checkErrorsCableID(const GBTData* gbtD, uint8_t cableSW)
void GBTLink::accountLinkRecovery(o2::InteractionRecord ir)
{
statistics.errorCounts[GBTLinkDecodingStat::ErrLinkRecovery]++;
gbtErrStatUpadated = true;
if (needToPrintError(statistics.errorCounts[GBTLinkDecodingStat::ErrLinkRecovery])) {
LOG(info) << describe() << ' ' << ir << ". " << statistics.ErrNames[GBTLinkDecodingStat::ErrLinkRecovery];
}
Expand Down

0 comments on commit 915a2c1

Please sign in to comment.