We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efef0e2 commit 4c9fad4Copy full SHA for 4c9fad4
include/ReadoutCard/BarInterface.h
@@ -22,8 +22,6 @@
22
#include "ReadoutCard/Parameters.h"
23
#include "boost/optional.hpp"
24
25
-#include "ReadoutCard/Cru.h"
26
-
27
namespace AliceO2
28
{
29
namespace roc
src/Crorc/CrorcBar.cxx
@@ -71,7 +71,7 @@ boost::optional<int32_t> CrorcBar::getSerialNumber()
71
72
// mPdaBar->assertBarIndex(0, "Can only get serial from Bar 0");
73
uint32_t serial = readRegister(Crorc::Registers::SERIAL_NUMBER.index);
74
- if (serial == 0x0 || true) {
+ if (serial == 0x0) {
75
writeRegister(Crorc::Registers::SERIAL_NUMBER_CTRL.index, Crorc::Registers::SERIAL_NUMBER_TRG);
76
std::this_thread::sleep_for(500ms);
77
serial = readRegister(Crorc::Registers::SERIAL_NUMBER.index);
0 commit comments