Skip to content

Commit b080703

Browse files
committed
print readoutcard version
1 parent b63d4c4 commit b080703

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mainReadout.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
#include "ReadoutDatabase.h"
5454
#endif
5555

56+
#ifdef WITH_READOUTCARD
57+
#include <ReadoutCard/Version.h>
58+
#endif
59+
5660
#include <atomic>
5761
#include <chrono>
5862
#include <fcntl.h>
@@ -374,7 +378,7 @@ int Readout::init(int argc, char* argv[])
374378
theLog.log(LogInfoDevel, "Build time: %s %s", __DATE__, __TIME__);
375379
theLog.log(LogInfoDevel, "Optional built features enabled:");
376380
#ifdef WITH_READOUTCARD
377-
theLog.log(LogInfoDevel, "READOUTCARD : yes");
381+
theLog.log(LogInfoDevel, "READOUTCARD : yes (v%s)", o2::roc::getReadoutCardVersion());
378382
#else
379383
theLog.log(LogInfoDevel, "READOUTCARD : no");
380384
#endif

0 commit comments

Comments
 (0)