Skip to content
Snippets Groups Projects
Commit c0c747de authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fixed ConsumingFanOut (was swapping buffer twice)

parent d5b52ca7
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,6 @@ namespace ChimeraTK {
void postRead() override {
mtca4u::NDRegisterAccessorDecorator<UserType>::postRead();
buffer_2D[0].swap(FanOut<UserType>::impl->accessChannel(0));
for(auto &slave : FanOut<UserType>::slaves) { // send out copies to slaves
// do not send copy if no data is expected (e.g. trigger)
if(slave->getNumberOfSamples() != 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment