Changeset 15132 for trunk/FACT++/src
- Timestamp:
- 03/22/13 17:06:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r15130 r15132 1159 1159 { 1160 1160 if (!IsConnected()) 1161 return kDisconnected; 1161 return kDisconnected; // rc=1 1162 1162 1163 1163 switch (fHeader.fState&FTM::kFtmStates) 1164 1164 { 1165 case FTM::kFtmUndefined: 1166 return kConnected; 1167 1168 case FTM::kFtmRunning: 1169 case FTM::kFtmCalib: 1170 return kTriggerOn; 1171 1172 case FTM::kFtmIdle: 1173 case FTM::kFtmConfig: 1165 case FTM::kFtmUndefined: // 0 1166 return kConnected; // rc=2 1167 1168 case FTM::kFtmRunning: // 3 1169 case FTM::kFtmCalib: // 4 1170 return kTriggerOn; // rc=4 1171 1172 case FTM::kFtmIdle: // 1 1173 case FTM::kFtmConfig: // 2 // rc=7 // rc=3 1174 1174 return fStaticData == fBufStaticData ? kConfigured : kIdle; 1175 1175 } … … 2048 2048 2049 2049 T::AddStateName(FTM::State::kConfiguring1, "Configuring1", 2050 "Command to di able run sent... waiting for response.");2050 "Command to disable run sent... waiting for response."); 2051 2051 T::AddStateName(FTM::State::kConfiguring2, "Configuring2", 2052 2052 "New configuration sent... waiting for response.");
Note:
See TracChangeset
for help on using the changeset viewer.