Changeset 14224


Ignore:
Timestamp:
06/23/12 12:54:41 (12 years ago)
Author:
tbretz
Message:
Allow ENABLE_FTU and RESET_CRATE in state configured to allow the automatic crate reset by the MCP.
File:
1 edited

Legend:

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

    r14211 r14224  
    20772077             "|time[0.5s]:The interval is given in units of 0.5s, i.e. 1 means 0.5s, 2 means 1s, ...");
    20782078
    2079         T::AddEvent("ENABLE_FTU", "I:1;B:1", FTM::State::kIdle)
     2079        T::AddEvent("ENABLE_FTU", "I:1;B:1", FTM::State::kIdle, FTM::State::kConfigured)
    20802080            (bind(&StateMachineFTM::EnableFTU, this, placeholders::_1))
    20812081            ("Enable or disable FTU"
     
    22282228
    22292229
    2230         T::AddEvent("RESET_CRATE", "S:1", FTM::State::kIdle)
     2230        T::AddEvent("RESET_CRATE", "S:1", FTM::State::kIdle, FTM::State::kConfigured)
    22312231            (bind(&StateMachineFTM::ResetCrate, this, placeholders::_1))
    22322232            ("Reset one of the crates 0-3"
Note: See TracChangeset for help on using the changeset viewer.