Ignore:
Timestamp:
07/27/11 17:16:26 (13 years ago)
Author:
tbretz
Message:
Added locked state to states.
File:
1 edited

Legend:

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

    r11525 r11664  
    6767
    6868        fHeader.fDelimiter=kDelimiterStart;
    69         fHeader.fState=FTM::kFtmIdle;
     69        fHeader.fState=FTM::kFtmIdle|FTM::kFtmLocked;
    7070        fHeader.fBoardId=0xaffe;
    7171        fHeader.fFirmwareId=0x42;
     
    334334
    335335            case kCmdStartRun:
    336                 fHeader.fState = FTM::kFtmRunning;
     336                fHeader.fState = FTM::kFtmRunning|FTM::kFtmLocked;
    337337
    338338                fStartTime = Time().UnixTime();
     
    349349
    350350            case kCmdStopRun:
    351                 fHeader.fState = FTM::kFtmIdle;
     351                fHeader.fState = FTM::kFtmIdle|FTM::kFtmLocked;
    352352
    353353                fTriggerSendData.cancel();
Note: See TracChangeset for help on using the changeset viewer.