Changeset 15106 for trunk/FACT++/src


Ignore:
Timestamp:
03/18/13 14:58:51 (12 years ago)
Author:
tbretz
Message:
The operator comparing the static data now does not compare the threesholds anymore. Thus the ratecontrol can start already even before the the end of the configuration procedure ans the ftmctrl will stay in Configured.
File:
1 edited

Legend:

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

    r15055 r15106  
    254254        }
    255255
    256         bool operator==(const StaticData &d) const
    257         {
     256        bool operator==(StaticData d) const
     257        {
     258            for (int i=0; i<4; i++)
     259                for (int j=0; j<10; j++)
     260                    memcpy(d.fBoard[i][j].fDAC, fBoard[i][j].fDAC, sizeof(uint16_t)*5);
    258261            return memcmp(this, &d, sizeof(StaticData))==0;
    259262        }
Note: See TracChangeset for help on using the changeset viewer.