mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-02 08:24:56 +01:00
sleep implemented for command line, mainly for config files for firmware developers (#982)
This commit is contained in:
@@ -3239,6 +3239,22 @@ int InferAction::signalname() {
|
||||
}
|
||||
}
|
||||
|
||||
int InferAction::sleep() {
|
||||
|
||||
if (args.size() == 1) {
|
||||
return slsDetectorDefs::PUT_ACTION;
|
||||
}
|
||||
|
||||
if (args.size() == 2) {
|
||||
return slsDetectorDefs::PUT_ACTION;
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
throw RuntimeError("Could not infer action: Wrong number of arguments");
|
||||
}
|
||||
}
|
||||
|
||||
int InferAction::slowadc() {
|
||||
|
||||
if (args.size() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user