Skip to content

Commit

Permalink
Merge pull request #42 from tntakahashi/main
Browse files Browse the repository at this point in the history
update AmQStrTdcSampler and STFBuilder
  • Loading branch information
Tomonori Takahashi authored Mar 20, 2023
2 parents a639776 + 9b9596e commit ba0d752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AmQStrTdcSampler.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ int AmQStrTdcSampler::Event_Cycle(uint8_t* buffer)
// static const unsigned int sizeData = fnByte*fnWordPerCycle*sizeof(uint8_t);
static const unsigned int sizeData = optnByte*fnWordPerCycle*sizeof(uint8_t);
int ret = receive(fAmqSocket, (char*)buffer, sizeData);
if(ret < 0) return ret;
if(ret <= 0) return ret;

return fnWordPerCycle;
}
Expand Down
4 changes: 2 additions & 2 deletions STFBuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ AmQStrTdcSTFBuilder::FillData(AmQStrTdc::Data::Word* first,
}
}

if (!isSpillEnd) {
//if (!isSpillEnd) {
fWorkingPayloads->emplace_back(NewSimpleMessage(*last));
}
//}

}

Expand Down

0 comments on commit ba0d752

Please sign in to comment.