Changeset 11718


Ignore:
Timestamp:
07/30/11 16:10:59 (14 years ago)
Author:
tbretz
Message:
Fixed a typo and make sure that the buffer doesn't overflow if the data cannot be sent fast enough.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fad.cc

    r11651 r11718  
    127127    void SendData(uint32_t triggerid)
    128128    {
     129        if (fOutQueue.size()>3)
     130            return;
     131
    129132        fHeader.fPackageLength = sizeof(EventHeader)/2+1;
    130133        fHeader.fEventCounter++;
     
    286289            case kCmdSrclk:
    287290            case kCmdSrclk+0x100:
    288                 cout << "-> Drclk " << fBoardId << endl;
     291                cout << "-> Srclk " << fBoardId << endl;
    289292                break;
    290293
Note: See TracChangeset for help on using the changeset viewer.