Skip to content

Commit 4c9fad4

Browse files
committed
[crorc] Remove leftover check
1 parent efef0e2 commit 4c9fad4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/ReadoutCard/BarInterface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
#include "ReadoutCard/Parameters.h"
2323
#include "boost/optional.hpp"
2424

25-
#include "ReadoutCard/Cru.h"
26-
2725
namespace AliceO2
2826
{
2927
namespace roc

src/Crorc/CrorcBar.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ boost::optional<int32_t> CrorcBar::getSerialNumber()
7171
{
7272
// mPdaBar->assertBarIndex(0, "Can only get serial from Bar 0");
7373
uint32_t serial = readRegister(Crorc::Registers::SERIAL_NUMBER.index);
74-
if (serial == 0x0 || true) {
74+
if (serial == 0x0) {
7575
writeRegister(Crorc::Registers::SERIAL_NUMBER_CTRL.index, Crorc::Registers::SERIAL_NUMBER_TRG);
7676
std::this_thread::sleep_for(500ms);
7777
serial = readRegister(Crorc::Registers::SERIAL_NUMBER.index);

0 commit comments

Comments
 (0)