Changeset 12492


Ignore:
Timestamp:
11/11/11 02:48:19 (13 years ago)
Author:
tbretz
Message:
Removed hacked byte swapping from debugHead
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r12489 r12492  
    902902                continue;
    903903
    904             // ptr->fTriggerType = htons(ptr->fTriggerType)
    905 
    906904            if (!ptr->HasTriggerLPext() && !ptr->HasTriggerLPint())
    907905                return;
     
    13851383    void debugHead(int socket, int/*board*/, void *buf)
    13861384    {
    1387         const uint16_t *ptr = reinterpret_cast<uint16_t*>(buf);
    1388         EventBuilderWrapper::This->debugHead(socket, FAD::EventHeader(ptr));
    1389 
    1390         // const FAD::EventHeader &h = *reinterpret_cast<FAD::EventHeader*>(buf);
    1391         // EventBuilderWrapper::This->debugHead(socket, h);
    1392 
     1385        const FAD::EventHeader &h = *reinterpret_cast<FAD::EventHeader*>(buf);
     1386        EventBuilderWrapper::This->debugHead(socket, h);
    13931387    }
    13941388
Note: See TracChangeset for help on using the changeset viewer.