Changeset 12218 for trunk


Ignore:
Timestamp:
10/20/11 13:34:32 (13 years ago)
Author:
tbretz
Message:
Adapted the datalogger state checks
File:
1 edited

Legend:

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

    r12088 r12218  
    289289            if (GetCurrentState()==kStateConfiguring1)
    290290            {
    291                 if (fStatusLog.second!=30/*kSM_WaitForRun*/)
     291                if (fStatusLog.second<30/*kSM_WaitForRun*/)
    292292                {
    293293                    Message("Starting datalogger");
     
    303303                if ((fStatusFTM.second != FTM::kConfiguring2 &&
    304304                     fStatusFTM.second != FTM::kConfigured) ||
    305                     fStatusLog.second != 30/*kSM_WaitForRun*/)
     305                    fStatusLog.second < 30/*kSM_WaitForRun*/)
    306306                    return GetCurrentState();
    307307
Note: See TracChangeset for help on using the changeset viewer.