Changeset 13605 for trunk/FACT++/src


Ignore:
Timestamp:
05/08/12 22:10:59 (13 years ago)
Author:
tbretz
Message:
In the new states the check should be fStatusFAD not fStatusFTM
File:
1 edited

Legend:

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

    r13585 r13605  
    397397            if (GetCurrentState()==kStateTriggerOn)
    398398            {
    399                 if (fStatusFTM.second != FAD::kWritingData)
     399                if (fStatusFAD.second != FAD::kWritingData)
    400400                    return GetCurrentState();
    401401
     
    407407            if (GetCurrentState()==kStateTakingData)
    408408            {
    409                 if (fStatusFTM.second==FTM::kTriggerOn && fStatusFAD.second==FAD::kWritingData)
     409                if (fStatusFTM.second==FTM::kTriggerOn &&
     410                    fStatusFAD.second==FAD::kWritingData)
    410411                    return kStateTakingData;
    411412
Note: See TracChangeset for help on using the changeset viewer.