Changeset 11421
- Timestamp:
- 07/15/11 15:24:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11394 r11421 1415 1415 if (nconnecting1==0 && nconnected1>0 && nconnected2==nconnected1) 1416 1416 { 1417 if (T::GetCurrentState()==FAD::kConfigured && IsRunStarted(GetRunNumber()-1)) 1418 return FAD::kConnected; 1419 1417 1420 if (nconfigured!=nconnected1) 1418 1421 { 1422 1419 1423 if (T::GetCurrentState()==FAD::kConfiguring || 1420 1424 T::GetCurrentState()==FAD::kConfigured) … … 1426 1430 } 1427 1431 1428 if (T::GetCurrentState() != FAD::kConfiguring && 1429 T::GetCurrentState() != FAD::kConfigured) 1430 return FAD::kConnected; 1431 1432 if (T::GetCurrentState()== FAD::kConfiguring) 1432 if (T::GetCurrentState()==FAD::kConfiguring) 1433 1433 { 1434 1434 for (BoardList::iterator it=fBoards.begin(); it!=fBoards.end(); it++) … … 1445 1445 // successfully enabled the trigger lines? 1446 1446 } 1447 } 1448 return FAD::kConfigured; 1447 return FAD::kConfigured; 1448 } 1449 1450 return FAD::kConnected; 1449 1451 } 1450 1452 … … 1853 1855 1854 1856 target.fTriggerRate = 0; 1855 if (target.fContinousTrigger)1857 //if (target.fContinousTrigger) 1856 1858 { 1857 1859 if (!CheckConfigVal<uint16_t>(conf, 0xffff, "trigger-rate.", *it))
Note:
See TracChangeset
for help on using the changeset viewer.