Skip to content
Snippets Groups Projects
Commit efe2f65b authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Pierre-Alain Loizeau
Browse files

Online unpacking: change printout of unknown link IDs to hex

parent 5e1acbf0
No related branches found
No related tags found
1 merge request!2024Online unpacking: change printout of unknown link IDs to hex
Pipeline #33008 passed
......@@ -3,6 +3,8 @@
Authors: Felix Weiglhofer [committer], Dominik Smith */
#include "CommonUnpacker.h"
#include <iomanip>
using namespace cbm::algo;
detail::MSData::MSData(const fles::Timeslice& ts, fles::Subsystem subsystem, gsl::span<u16> legalEqIds)
......@@ -20,7 +22,8 @@ detail::MSData::MSData(const fles::Timeslice& ts, fles::Subsystem subsystem, gsl
const u16 componentId = ts.descriptor(comp, 0).eq_id;
if (std::find(legalEqIds.begin(), legalEqIds.end(), componentId) == legalEqIds.end()) {
L_(error) << "Invalid equipment id " << componentId << " for subsystem " << ToString(subsystem);
L_(error) << "Invalid equipment id 0x" << std::hex << std::setw(4) << componentId << std::dec << " for subsystem "
<< ToString(subsystem);
monitor.errInvalidEqId++;
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment