Changeset 12038 for trunk/FACT++
- Timestamp:
- 09/08/11 21:44:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r12000 r12038 2275 2275 } 2276 2276 2277 FTM::StaticData data; 2278 2279 const uint16_t frq = conf.GetDef<uint16_t>("sampling-frequency.", *it); 2280 if (fClockCondSetup.count(frq)==0) 2277 if (!conf.HasDef("sampling-frequency.", *it)) 2281 2278 { 2282 T::Error(" sampling-frequency."+*it+" - frequency not available.");2279 T::Error("Neither sampling-frequency."+*it+" nor sampling-frequency.default found."); 2283 2280 return 2; 2284 2281 } 2285 2282 2283 const uint16_t frq = conf.GetDef<uint16_t>("sampling-frequency.", *it); 2284 2285 FTM::StaticData data; 2286 2286 data.SetClockRegister(fClockCondSetup[frq].data()); 2287 2287
Note:
See TracChangeset
for help on using the changeset viewer.