Skip to content

Commit

Permalink
Merge pull request #191 from mpurschke/master
Browse files Browse the repository at this point in the history
mlp - fixed a bug in the CAEN1742 decoder
  • Loading branch information
mpurschke authored Dec 9, 2024
2 parents 53fc48b + 58a0f42 commit a312338
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions newbasic/oncsSub_idcaenv1742.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "oncsSub_idcaenv1742.h"
#include <cstring>


oncsSub_idcaenv1742::oncsSub_idcaenv1742(subevtdata_ptr data)
:oncsSubevent_w4 (data)
{
Expand Down Expand Up @@ -126,8 +127,8 @@ int *oncsSub_idcaenv1742::decode ( int *nwout)
pos +=3;
}
}
group_offset += pos + 1;
}
group_offset += pos + 1;
}
*nwout = samples*8 *4;

Expand Down Expand Up @@ -306,7 +307,7 @@ void oncsSub_idcaenv1742::dump ( OSTREAM& os )

os << std::setw(4) << iValue(i,j) << " ";
}
os << " tr: " << iValue(i, "TR0") << std::endl;
os << " tr: " << std::setw(5) << iValue(i, "TR0") << " " << std::setw(5) << iValue(i, "TR1")<< std::endl;
}

os << std::endl;
Expand Down

0 comments on commit a312338

Please sign in to comment.