sleep implemented for command line, mainly for config files for firmware developers (#982)

This commit is contained in:
2024-09-30 16:57:53 +02:00
committed by GitHub
parent 2dc0963c56
commit 8144397b2c
7 changed files with 109 additions and 0 deletions

View File

@@ -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) {