Changeset 15174
- Timestamp:
- 03/28/13 11:01:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/pwrctrl.cc
r15020 r15174 266 266 267 267 // Timeout 268 if (!fLastReport.IsValid() || fLastReport+boost::posix_time::seconds(fInterval*2)<Time())268 if (!fLastReport.IsValid() || Time()>fLastReport+boost::posix_time::seconds(fInterval*3)) 269 269 return Power::State::kDisconnected; 270 270 … … 531 531 { 532 532 cout << 533 "The lidctrl is an interface to the LID control hardware.\n"533 "The pwrctrl is an interface to the LID control hardware.\n" 534 534 "\n" 535 535 "The default is that the program is started without user intercation. " … … 538 538 "help message about the usuage can be brought to the screen.\n" 539 539 "\n" 540 "Usage: lidctrl [-c type] [OPTIONS]\n"541 " or: lidctrl [OPTIONS]\n";540 "Usage: pwrctrl [-c type] [OPTIONS]\n" 541 " or: pwrctrl [OPTIONS]\n"; 542 542 cout << endl; 543 543 }
Note:
See TracChangeset
for help on using the changeset viewer.